diff options
author | rtkay123 <dev@kanjala.com> | 2025-08-10 12:16:25 +0200 |
---|---|---|
committer | rtkay123 <dev@kanjala.com> | 2025-08-10 12:16:25 +0200 |
commit | bedc55279b6a1fe7a6b6d28149f8ed9d6472ae74 (patch) | |
tree | 8363b553a63d072fcf0fd9ee026088d729b3e9aa | |
parent | af407fe5c3e1d5b8b315db029805fa7290c83fae (diff) | |
download | warden-bedc55279b6a1fe7a6b6d28149f8ed9d6472ae74.tar.bz2 warden-bedc55279b6a1fe7a6b6d28149f8ed9d6472ae74.zip |
ci: check
-rw-r--r-- | .github/workflows/check.yaml | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml new file mode 100644 index 0000000..71e09c2 --- /dev/null +++ b/.github/workflows/check.yaml @@ -0,0 +1,34 @@ +permissions: + contents: read +on: + push: + branches: [master] + pull_request: + +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true +name: check +jobs: + msrv: + runs-on: ubuntu-latest + strategy: + matrix: + msrv: ["1.85.0"] + name: msrv / ${{ matrix.msrv }} + steps: + - uses: actions/checkout@v4 + with: + submodules: true + - name: Install ${{ matrix.msrv }} + uses: dtolnay/rust-toolchain@master + with: + toolchain: ${{ matrix.msrv }} + - name: install protoc + uses: arduino/setup-protoc@v3 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + - name: cargo install cargo-hack + uses: taiki-e/install-action@cargo-hack + - name: cargo hack +${{ matrix.msrv }} + run: cargo hack --clean-per-run --feature-powerset check |