Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
peinlcy committed Feb 9, 2024
1 parent 640609c commit 174e6af
Showing 1 changed file with 12 additions and 17 deletions.
29 changes: 12 additions & 17 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
name: CI checks

on:
push:
branches: ["peinlcy/prover", "dev/pierre"]
pull_request:
branches: ["peinlcy/prover", "dev/pierre", "main"]
workflow_dispatch:
on: [push, pull_request]

env:
CARGO_TERM_COLOR: always
Expand All @@ -16,17 +11,17 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Cache Rust toolchain
uses: actions/cache@v2
with:
path: |
~/.cargo/bin
~/.cargo/registry
~/.cargo/git
~/.rustup
key: ${{ runner.os }}-rustup-${{ hashFiles('**/rust-toolchain') }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-rustup-${{ hashFiles('**/rust-toolchain') }}-
# - name: Cache Rust toolchain
# uses: actions/cache@v2
# with:
# path: |
# ~/.cargo/bin
# ~/.cargo/registry
# ~/.cargo/git
# ~/.rustup
# key: ${{ runner.os }}-rustup-${{ hashFiles('**/rust-toolchain') }}-${{ github.sha }}
# restore-keys: |
# ${{ runner.os }}-rustup-${{ hashFiles('**/rust-toolchain') }}-
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
Expand Down

0 comments on commit 174e6af

Please sign in to comment.