Skip to content

Bump serde_json from 1.0.106 to 1.0.107 #337

Bump serde_json from 1.0.106 to 1.0.107

Bump serde_json from 1.0.106 to 1.0.107 #337

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@v3
with:
name: "tap-consooomer-${{ matrix.target }}"
path: "target/${{ matrix.target }}/release/tap${{ contains(matrix.target, 'windows') && '.exe' || '' }}"