chore(deps): Update dependencies #113
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: Continuous integration | |
permissions: | |
contents: read | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
CARGO_TERM_COLOR: always | |
RUST_BACKTRACE: 1 | |
jobs: | |
test: | |
name: Test - ${{ matrix.target }} with rust ${{ matrix.rust }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
target: | |
- i686-unknown-linux-gnu | |
- i686-unknown-linux-musl | |
- x86_64-unknown-linux-gnu | |
- x86_64-unknown-linux-musl | |
rust: | |
- stable | |
- beta | |
- nightly | |
- 1.71.0 # MSRV | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Rust | |
run: rustup install --profile minimal ${{ matrix.rust }} && rustup default ${{ matrix.rust }} | |
- name: Install cross | |
uses: taiki-e/install-action@cross | |
- name: Cache builds | |
uses: Swatinem/[email protected] | |
with: | |
key: ${{ matrix.target }}-${{ matrix.rust }} | |
- name: Cross compile and test | |
run: cross test --locked --target ${{ matrix.target }} --verbose |