Skip to content

ci: scope native release target cache #395

ci: scope native release target cache

ci: scope native release target cache #395

Workflow file for this run

name: Check Ubuntu
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: "-D warnings"
jobs:
check:
name: Check (ubuntu-latest)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Setup soldr
id: setup-soldr
uses: zackees/setup-soldr@v0
with:
cache: true
build-cache: true
target-cache: true
- name: Check
run: soldr cargo check --workspace --all-targets
- name: Clippy
run: soldr cargo clippy --workspace --all-targets -- -D warnings
- name: Test
run: soldr cargo test --workspace