Skip to content

Commit

Permalink
Update rust.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
survived authored Sep 20, 2023
1 parent 48a7fd2 commit 8e8e1c4
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,19 @@ name: Rust
on:
pull_request:
branches: [ "*" ]
schedule:
- cron: '0 5 * * *'

env:
CARGO_TERM_COLOR: always
CARGO_NET_GIT_FETCH_WITH_CLI: true

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.STARK_CURVE_KEY }}
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: "true"
Expand All @@ -37,6 +39,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.STARK_CURVE_KEY }}
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: "true"
Expand Down

0 comments on commit 8e8e1c4

Please sign in to comment.