Skip to content

Commit

Permalink
try to cache between multiple jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
Sowasvonbot committed Jan 20, 2024
1 parent de30a67 commit c4dbc45
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: caching
uses: Swatinem/rust-cache@v2
if: matrix.os == 'ubuntu-latest'
- name: Build unimarkup
run: cargo build

Expand All @@ -32,6 +29,7 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- name: Run cargo fmt
run: cargo fmt -- --check

Expand All @@ -42,6 +40,7 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- name: Run linter
run: cargo clippy -- -D warnings

Expand All @@ -52,5 +51,6 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- name: Run tests
run: cargo test --verbose

0 comments on commit c4dbc45

Please sign in to comment.