Skip to content

Commit

Permalink
chore: add more jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
is-it-ayush committed Feb 20, 2024
1 parent 5f67d5f commit 308d622
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,36 @@ concurrency:
cancel-in-progress: true
name: check
jobs:
miri:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- run: |
echo "NIGHTLY=nightly-$(curl -s https://rust-lang.github.io/rustup-components-history/x86_64-unknown-linux-gnu/miri)" >> $GITHUB_ENV
- name: Install ${{ env.NIGHTLY }}
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ env.NIGHTLY }}
components: miri
- name: cargo miri test
run: cargo miri test
env:
MIRIFLAGS: ""
build:
runs-on: ubuntu-latest
name: stable / build
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Install stable
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- name: cargo build
run: cargo test
test:
runs-on: ubuntu-latest
name: stable / test
Expand Down

0 comments on commit 308d622

Please sign in to comment.