Bump anyhow from 1.0.93 to 1.0.94 #765
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 and Test | |
on: [push, pull_request] | |
jobs: | |
build_and_test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
target: [x86_64-pc-windows-gnu, x86_64-unknown-linux-gnu] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install Rust toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
target: ${{ matrix.target }} | |
override: true | |
- name: Load cache | |
uses: Swatinem/rust-cache@v2 | |
with: | |
key: "${{ matrix.target }}-2" | |
- name: Check crate | |
uses: actions-rs/cargo@v1 | |
with: | |
command: check | |
args: --target ${{ matrix.target }} | |
- name: Install cargo-msrv | |
uses: actions-rs/cargo@v1 | |
with: | |
command: install | |
args: cargo-msrv | |
- name: Verify MSRV | |
uses: actions-rs/cargo@v1 | |
with: | |
command: msrv | |
args: verify | |
- name: Test crate | |
uses: actions-rs/cargo@v1 | |
with: | |
use-cross: true | |
command: test | |
args: --target ${{ matrix.target }} | |
- name: Build crate | |
uses: actions-rs/cargo@v1 | |
with: | |
use-cross: true | |
command: build | |
args: --target ${{ matrix.target }} --release --all-features | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: "tap-consooomer-${{ matrix.target }}" | |
path: "target/${{ matrix.target }}/release/tap${{ contains(matrix.target, 'windows') && '.exe' || '' }}" |