Skip to content

build: continuous delivery #51

build: continuous delivery

build: continuous delivery #51

Workflow file for this run

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