Bump docker/metadata-action from 5.3.0 to 5.4.0 #76
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: Build | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }}-latest | |
strategy: | |
matrix: | |
os: [macos] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: hecrj/[email protected] | |
- uses: Swatinem/[email protected] | |
with: | |
key: ${{ runner.os }} | |
# same checks as with `cargo build`, but no binaries are generated at the end, saving some time. | |
- run: cargo check | |
check-format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: hecrj/[email protected] | |
with: | |
rust-version: stable | |
components: rustfmt | |
- run: cargo fmt -- --check | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: hecrj/[email protected] | |
with: | |
rust-version: stable | |
components: clippy | |
- uses: Swatinem/[email protected] | |
with: | |
key: lint | |
- run: cargo clippy |