Skip to content

chore(deps): update rust crate cargo_metadata to 0.23 #85

chore(deps): update rust crate cargo_metadata to 0.23

chore(deps): update rust crate cargo_metadata to 0.23 #85

Workflow file for this run

name: stable
on:
workflow_dispatch:
push:
branches:
- master
pull_request:
types:
- opened
- synchronize
branches:
- master
env:
RUST_BACKTRACE: 1
CARGO_TERM_COLOR: always
CLICOLOR: 1
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Install Rust stable
uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- name: Using Rust cache
uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2
with:
cache-all-crates: "true"
cache-on-failure: "true"
prefix-key: v0-rust-stable
- name: Check
run: cargo check --workspace --all-targets
- name: Clippy
run: cargo clippy --workspace --all-targets -- -D warnings
- name: Test
run: cargo test --workspace
check-publish:
runs-on: ubuntu-latest
needs: test
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
steps:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Install Rust stable
uses: dtolnay/rust-toolchain@stable
- name: Using Rust cache
uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2
with:
prefix-key: v0-rust-stable
- name: Check publishable
uses: katyo/publish-crates@02cc2f1ad653fb25c7d1ff9eb590a8a50d06186b # v2
with:
dry-run: true
check-repo: false