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
|
||||
branches:
|
||||
- master
|
||||
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/github/home/.cargo/bin
|
||||
|
@ -18,7 +20,7 @@ env:
|
|||
jobs:
|
||||
checkfmt:
|
||||
name: Check format
|
||||
runs-on: ubuntu
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: alpine
|
||||
strategy:
|
||||
|
@ -38,7 +40,7 @@ jobs:
|
|||
run: cargo fmt --check
|
||||
check:
|
||||
name: Check release
|
||||
runs-on: ubuntu
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: alpine
|
||||
strategy:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue