chore(deps): update all non-major dependencies #184
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 | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: ['*'] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
# Test fixtures live in LFS. | |
lfs: true | |
- name: Determine toolchain | |
id: rust-toolchain | |
run: | | |
echo "value=$(cat rust-toolchain)" >> "$GITHUB_OUTPUT" | |
- name: Setup Rust | |
uses: dtolnay/rust-toolchain@v1 | |
with: | |
components: rustfmt, clippy, llvm-tools-preview | |
toolchain: ${{ steps.rust-toolchain.outputs.value }} | |
- name: Setup Rust cache | |
uses: Swatinem/rust-cache@v2 | |
- name: Install testing tools | |
uses: taiki-e/install-action@v2 | |
with: | |
tool: [email protected],[email protected] | |
- name: Lint | |
run: make lint | |
- name: Build | |
run: make build | |
- name: Test | |
run: make cover | |
- name: Upload coverage data | |
uses: codecov/codecov-action@v4 | |
with: | |
files: lcov.info |