From b45f650a69351edc5327959d93a410c88bdc344d Mon Sep 17 00:00:00 2001 From: Valentin Date: Sat, 9 Nov 2024 16:58:30 +0100 Subject: [PATCH] temp --- .github/workflows/check.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/check.yml diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml new file mode 100644 index 0000000..090f114 --- /dev/null +++ b/.github/workflows/check.yml @@ -0,0 +1,25 @@ +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +# We assume the runner is on x86. + +jobs: + check stable: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - run: rustup toolchain default stable + - run: cargo fmt --check + - run: cargo clippy --quiet --frozen --workspace --all-targets -- -D warnings + - run: cargo xtask + + check msrv: + runs-on: ubuntu-24.04 + steps: + - uses: actions/checkout@v4 + - run: rustup toolchain default 1.71 + - run: cargo clippy --quiet --frozen --workspace --all-targets -- -D warnings + - run: cargo xtask