Skip to content

deps: update rust crate serde_json to v1.0.145 #496

deps: update rust crate serde_json to v1.0.145

deps: update rust crate serde_json to v1.0.145 #496

Workflow file for this run

name: CI
on:
- push
- pull_request
permissions:
contents: read
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: full
jobs:
test:
name: Test
runs-on: ${{ matrix.os }}
strategy:
# Always run main branch builds to completion.
fail-fast: ${{ github.event_name == 'pull_request' ||
(github.ref != 'refs/heads/main' &&
!startsWith(github.ref, 'refs/tags/')) }}
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
steps:
- name: Configure git
run: |
git config --global core.autocrlf false
git config --global core.symlinks true
git config --global fetch.parallel 32
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v1
- name: Clippy
run: cargo clippy -- -D warnings
- name: Run tests
uses: actions-rs/cargo@v1
with:
command: test
args: --all --all-features
release:
name: Release
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
needs: test
concurrency:
group: release
steps:
- name: Configure git
run: |
git config --global core.autocrlf false
git config --global core.symlinks true
git config --global fetch.parallel 32
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v1
- name: Install cargo plugins
run: cargo install cargo-workspaces
- name: Publish
run: cargo workspaces publish --from-git --yes --token "${{ secrets.CRATES_IO_TOKEN }}"