chore(deps): update actions/checkout action to v4.2.2 #1523
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
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
name: Tests | |
jobs: | |
test: | |
name: ${{matrix.rust}} on ${{matrix.os}} | |
runs-on: ${{matrix.os}} | |
strategy: | |
matrix: | |
rust: [1.74.1, stable] | |
os: [ubuntu-20.04] | |
env: | |
RUSTFLAGS: '' | |
CARGO_PROFILE_DEV_DEBUG: '0' # reduce size of target directory | |
steps: | |
- name: Checkout | |
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
- name: Toolchain | |
run: rustup default ${{matrix.rust}} | |
- name: Build | |
uses: actions-rs/cargo@844f36862e911db73fe0815f00a4a2602c279505 # v1.0.3 | |
with: | |
command: build | |
args: --release --all-targets | |
- name: Test | |
uses: actions-rs/cargo@844f36862e911db73fe0815f00a4a2602c279505 # v1.0.3 | |
with: | |
command: test | |
args: --release |