mirror of
https://github.com/denoland/deno.git
synced 2024-12-01 16:51:13 -05:00
Run github actions on all pull requests (#2980)
This commit is contained in:
parent
4a807f4225
commit
de19598d13
2 changed files with 3 additions and 3 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -1,6 +1,6 @@
|
||||||
name: Build and test
|
name: Build and test
|
||||||
|
|
||||||
on: [push]
|
on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
4
.github/workflows/lint.yml
vendored
4
.github/workflows/lint.yml
vendored
|
@ -1,6 +1,6 @@
|
||||||
name: lint
|
name: lint
|
||||||
|
|
||||||
on: [push]
|
on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
clippy:
|
clippy:
|
||||||
|
@ -21,7 +21,7 @@ jobs:
|
||||||
rustup component add clippy
|
rustup component add clippy
|
||||||
rustup component add rustfmt
|
rustup component add rustfmt
|
||||||
|
|
||||||
- name: Environment (common)
|
- name: Environment
|
||||||
run: |
|
run: |
|
||||||
echo ::set-env name=RUSTC_WRAPPER::sccache
|
echo ::set-env name=RUSTC_WRAPPER::sccache
|
||||||
echo ::set-env name=DENO_BUILD_MODE::release
|
echo ::set-env name=DENO_BUILD_MODE::release
|
||||||
|
|
Loading…
Reference in a new issue