build: release-plz no cargo update #58
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
- push | |
- pull_request | |
jobs: | |
test: | |
strategy: | |
matrix: | |
runner: [ubuntu-latest, macos-latest] | |
runs-on: ${{ matrix.runner }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: cache | |
uses: FrancisRussell/[email protected] | |
with: | |
command: cache | |
- name: toolchain | |
uses: FrancisRussell/[email protected] | |
with: | |
command: install-rustup | |
toolchain: stable | |
- name: install Nix | |
uses: cachix/install-nix-action@v23 | |
- name: test | |
uses: FrancisRussell/[email protected] | |
with: | |
command: cargo test | |
clippy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: cache | |
uses: FrancisRussell/[email protected] | |
with: | |
command: cache | |
- name: toolchain | |
uses: FrancisRussell/[email protected] | |
with: | |
command: install-rustup | |
toolchain: stable | |
components: clippy | |
- name: test | |
uses: FrancisRussell/[email protected] | |
with: | |
command: cargo clippy | |
fmt: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: toolchain | |
uses: FrancisRussell/[email protected] | |
with: | |
command: install-rustup | |
toolchain: stable | |
- name: fmt | |
uses: FrancisRussell/[email protected] | |
with: | |
command: cargo fmt | |
args: --check |