diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 20e9a401..2e6a1664 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 diff --git a/changelog.d/916.bugfix b/changelog.d/916.bugfix new file mode 100644 index 00000000..b7641f93 --- /dev/null +++ b/changelog.d/916.bugfix @@ -0,0 +1 @@ +Cache more dependencies in CI to speed up runs.