Skip to content

Bump serde_json from 1.0.122 to 1.0.124 #126

Bump serde_json from 1.0.122 to 1.0.124

Bump serde_json from 1.0.122 to 1.0.124 #126

Workflow file for this run

name: build
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
jobs:
build:
permissions: write-all
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
~/.rustup
/usr/local/cargo
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Install rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: clippy
- name: Run rustfmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- name: Run clippy
uses: actions-rs/clippy@master
with:
args: --all -- -D warnings
- name: Cargo Test
uses: actions-rs/cargo@v1
with:
command: test
args: -q
- name: merge
if: github.event_name == 'pull_request'
run: |
gh pr merge --merge $GITHUB_HEAD_REF
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}