clean up mess

This commit is contained in:
Half-Shot 2024-03-19 11:56:45 +00:00
parent 3ea9582a4a
commit 70f7edc317
2 changed files with 20 additions and 19 deletions

View File

@ -20,30 +20,30 @@ concurrency:
jobs:
lint-node:
runs-on: ubuntu-22.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version-file: .node-version
- run: yarn --ignore-scripts
- run: yarn lint:js
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version-file: .node-version
- run: yarn --ignore-scripts
- run: yarn lint:js
lint-rust:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
components: rustfmt
- uses: Swatinem/rust-cache@v2
with:
shared-key: rust-cache
- run: cargo fmt --all -- --check
- run: cargo clippy -- -Dwarnings
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
components: rustfmt
- uses: Swatinem/rust-cache@v2
with:
shared-key: rust-cache
- run: cargo fmt --all -- --check
- run: cargo clippy -- -Dwarnings
config:
runs-on: ubuntu-22.04

1
changelog.d/916.bugfix Normal file
View File

@ -0,0 +1 @@
Cache more dependencies in CI to speed up runs.