mirror of
https://github.com/matrix-org/matrix-hookshot.git
synced 2025-03-10 13:17:08 +00:00
clean up mess
This commit is contained in:
parent
3ea9582a4a
commit
70f7edc317
38
.github/workflows/main.yml
vendored
38
.github/workflows/main.yml
vendored
@ -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
1
changelog.d/916.bugfix
Normal file
@ -0,0 +1 @@
|
||||
Cache more dependencies in CI to speed up runs.
|
Loading…
x
Reference in New Issue
Block a user