Skip to content

Commit

Permalink
ci: Add cache (#14)
Browse files Browse the repository at this point in the history
* ci: Add cache

* ci: Add audit-else
  • Loading branch information
MikuroXina authored Jul 31, 2022
1 parent 22786c1 commit 52c8ad2
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/audit-else.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Security audit

on:
pull_request:
paths-ignore:
- "**/deny.toml"
- "**/Cargo.toml"
- "**/Cargo.lock"

jobs:
security_audit:
runs-on: ubuntu-latest
steps:
- run: |
echo "Nothing to do"
10 changes: 10 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,16 @@ jobs:
os: [macos-latest, ubuntu-latest, windows-latest]

steps:
- uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

- uses: actions/checkout@v3
- uses: lukka/get-cmake@latest

Expand Down

0 comments on commit 52c8ad2

Please # to comment.