Skip to content

Bump serde from 1.0.199 to 1.0.204 #622

Bump serde from 1.0.199 to 1.0.204

Bump serde from 1.0.199 to 1.0.204 #622

Workflow file for this run

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' || '' }}"