build(deps): bump actions/checkout from 3 to 4 (#86) #140
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: Setup Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
components: rustfmt, clippy, llvm-tools-preview | |
- 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@v3 | |
with: | |
files: lcov.info |