Skip to content

chore: bump penumbra deps to v0.80.6 #9

chore: bump penumbra deps to v0.80.6

chore: bump penumbra deps to v0.80.6 #9

Workflow file for this run

name: rust
on:
pull_request:
jobs:
test:
name: cargo test
runs-on: buildjet-8vcpu-ubuntu-2204
steps:
- uses: actions/checkout@v4
with:
lfs: true
- name: install nix
uses: nixbuild/nix-quick-install-action@v28
- name: setup nix cache
uses: nix-community/cache-nix-action@v5
with:
primary-key: nix-${{ runner.os }}-${{ hashFiles('**/*.nix') }}
restore-prefixes-first-match: nix-${{ runner.os }}-
backend: buildjet
- name: Load rust cache
uses: astriaorg/[email protected]
- name: run cargo test
run: >-
nix develop --command
just test
check:
name: cargo check
runs-on: buildjet-8vcpu-ubuntu-2204
steps:
- uses: actions/checkout@v4
with:
lfs: true
- name: install nix
uses: nixbuild/nix-quick-install-action@v28
- name: setup nix cache
uses: nix-community/cache-nix-action@v5
with:
primary-key: nix-${{ runner.os }}-${{ hashFiles('**/*.nix') }}
restore-prefixes-first-match: nix-${{ runner.os }}-
backend: buildjet
- name: load rust cache
uses: astriaorg/[email protected]
- name: run cargo check, failing on warnings
run: >-
nix develop --command
just check
fmt:
name: cargo fmt
runs-on: buildjet-8vcpu-ubuntu-2204
steps:
- uses: actions/checkout@v4
- name: install nix
uses: nixbuild/nix-quick-install-action@v28
- name: setup nix cache
uses: nix-community/cache-nix-action@v5
with:
primary-key: nix-${{ runner.os }}-${{ hashFiles('**/*.nix') }}
restore-prefixes-first-match: nix-${{ runner.os }}-
backend: buildjet
- name: load rust cache
uses: astriaorg/[email protected]
- name: run cargo fmt, failing on reformatting
run: >-
nix develop --command
just fmt