Skip to content

Bump serde_json from 1.0.114 to 1.0.115 #36

Bump serde_json from 1.0.114 to 1.0.115

Bump serde_json from 1.0.114 to 1.0.115 #36

Workflow file for this run

name: Rust
on:
push:
branches: [ "main" ]
tags: [ "release/v*" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build
- name: Run tests
run: cargo test
test_write:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --features="write"
- name: Run tests
run: cargo test --features="write"
- name: Lint
uses: giraffate/clippy-action@v1
- name: Cargo check
run: cargo check
examples:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --examples
publish:
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/release/v')
needs: [test, test_write]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Authenticate
run: cargo login ${{ secrets.CARGO_PUBLISH_TOKEN }}
- name: Publish
run: cargo publish