ci(github): Trigger on push to primary branch
- Trigger on push to primary branch - Change runs-on to `ubuntu-latest`
This commit is contained in:
parent
f94bfbff3e
commit
c3ad03f848
1 changed files with 5 additions and 3 deletions
8
.github/workflows/check.yml
vendored
8
.github/workflows/check.yml
vendored
|
@ -9,7 +9,9 @@ on:
|
||||||
- synchronize
|
- synchronize
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
env:
|
env:
|
||||||
CARGO_TERM_COLOR: always
|
CARGO_TERM_COLOR: always
|
||||||
PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/github/home/.cargo/bin
|
PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/github/home/.cargo/bin
|
||||||
|
@ -18,7 +20,7 @@ env:
|
||||||
jobs:
|
jobs:
|
||||||
checkfmt:
|
checkfmt:
|
||||||
name: Check format
|
name: Check format
|
||||||
runs-on: ubuntu
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: alpine
|
image: alpine
|
||||||
strategy:
|
strategy:
|
||||||
|
@ -38,7 +40,7 @@ jobs:
|
||||||
run: cargo fmt --check
|
run: cargo fmt --check
|
||||||
check:
|
check:
|
||||||
name: Check release
|
name: Check release
|
||||||
runs-on: ubuntu
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: alpine
|
image: alpine
|
||||||
strategy:
|
strategy:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue