Bump rust from 1.82-slim-bookworm to 1.83-slim-bookworm #245
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
permissions: | |
checks: write | |
contents: read | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
test: | |
strategy: | |
matrix: | |
features: | |
- --features=cli | |
- --features=server | |
- --features=cli,server | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Set up rust-toolchain | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
components: clippy | |
- name: Cache dependencies | |
uses: Swatinem/rust-cache@v2 | |
with: | |
cache-on-failure: true | |
- name: Test | |
run: | | |
cargo test --workspace --all-features | |
- name: Run clippy | |
uses: sksat/[email protected] | |
with: | |
reporter: github-check | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
clippy_flags: --no-default-features --features=vendored ${{ matrix.features }} | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Build image | |
uses: docker/bake-action@v5 | |
with: | |
set: | | |
*.cache-from=type=gha | |
*.cache-to=type=gha,mode=max |