generated from recmo/rust-service-template
-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Delete workflows * Revert "Delete workflows" This reverts commit bb84ec3. * Disable cache * Remove cargo-sort + re-enable cache * Update RUST_VERSION - this should invalidate cache * Fixes * Fix stuck tests
- Loading branch information
Showing
4 changed files
with
13 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ on: | |
- main | ||
|
||
env: | ||
RUST_VERSION: "1.73" | ||
RUST_VERSION: "1.74.0-nightly" | ||
NIGHTLY_VERSION: nightly-2023-08-29 | ||
CARGO_TERM_COLOR: always | ||
# Skip incremental build and debug info generation in CI | ||
|
@@ -48,18 +48,11 @@ jobs: | |
target/ | ||
key: ${{ env.RUST_VERSION }}-${{ env.NIGHTLY_VERSION }}-cargo-lint-${{ hashFiles('**/Cargo.lock') }} | ||
restore-keys: ${{ env.RUST_VERSION }}-${{ env.NIGHTLY_VERSION }}-cargo-lint- | ||
- name: Install cargo-sort | ||
uses: actions-rs/[email protected] | ||
with: | ||
crate: cargo-sort | ||
version: latest | ||
- name: Check formatting | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: fmt | ||
args: --all -- --check | ||
- name: Check Cargo.toml formatting | ||
run: cargo sort --check --check-format | ||
- uses: actions-rs/clippy-check@v1 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters