Skip to content

Add Output implementation for deserializing JSON #872

Add Output implementation for deserializing JSON

Add Output implementation for deserializing JSON #872

Workflow file for this run

name: Ci
on:
push:
branches:
- main
tags:
- "*"
pull_request:
branches:
- main
defaults:
run:
shell: bash
env:
CACHE_KEY: 4
jobs:
all:
name: All
strategy:
matrix:
os:
- macos-latest
- ubuntu-latest
- windows-latest
rust:
- stable
- "1.41"
- "1.42"
- "1.43"
- "1.44"
- "1.45"
- "1.46"
- "1.47"
- "1.48"
- "1.49"
- "1.50"
- "1.51"
- "1.52"
- "1.53"
- "1.54"
- "1.55"
- "1.56"
- "1.57"
- "1.58"
- "1.59"
- "1.60"
runs-on: ${{matrix.os}}
env:
RUSTFLAGS: "--deny warnings"
steps:
- uses: actions/checkout@v2
# An issue with BSD Tar causes sporadic failures on macOS.
# c.f https://github.com/actions/cache/issues/403
- name: Install GNU Tar
if: matrix.os == 'macos-latest'
run: |
brew install gnu-tar
echo /usr/local/opt/gnu-tar/libexec/gnubin > $GITHUB_PATH
- name: Cache
uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
~/.cargo/bin
target
key: cargo-${{ env.CACHE_KEY }}-${{ runner.os }}-${{ matrix.rust }}-${{ hashFiles('Cargo.toml') }}
- name: Install just
uses: extractions/setup-just@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install clippy and rustfmt
run: |
echo '${{ matrix.rust }}' > rust-toolchain
rustup component add clippy rustfmt
- name: Info
run: |
just --version
rustup --version
cargo --version
cargo clippy --version
cargo fmt --version
- name: Ci
run: just ci