ci: Convert stable job to GitHub actions workflow

This commit is contained in:
Jonas Platte
2021-04-22 14:22:06 +02:00
parent dcf5081735
commit 49bd9d037c
2 changed files with 25 additions and 13 deletions

25
.github/workflows/stable.yml vendored Normal file
View 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