ci: Convert stable job to GitHub actions workflow
This commit is contained in:
25
.github/workflows/stable.yml
vendored
Normal file
25
.github/workflows/stable.yml
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
name: Rust stable
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v2
|
||||
- name: Install stable rust toolchain
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: stable
|
||||
override: true
|
||||
- name: Run checks
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: run
|
||||
args: -p xtask --no-default-features ci stable
|
||||
Reference in New Issue
Block a user