Skip to content

Commit

Permalink
Switch to mozilla-actions/sccache-action (trivial)
Browse files Browse the repository at this point in the history
  • Loading branch information
Endle authored Aug 20, 2024
1 parent e26a2ff commit c30b1f7
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: Linux and macOS
# Template Reference: https://www.infinyon.com/blog/2021/04/github-actions-best-practices/
on:
push:
branches: [ master ]
branches: [ master, llm_candidate ]
pull_request:
branches: [ master ]
branches: [ master, llm_candidate ]

env:
CARGO_TERM_COLOR: always
Expand All @@ -31,6 +31,8 @@ jobs:
toolchain: ${{ matrix.rust }}
profile: minimal
override: true
- name: Run sccache-cache
uses: mozilla-actions/[email protected]
- name: Get Date
id: get-date
run: |
Expand Down Expand Up @@ -72,7 +74,6 @@ jobs:
- name: Run sccache stat for check
shell: bash
run: ${SCCACHE_PATH} --show-stats



release:
Expand All @@ -87,9 +88,7 @@ jobs:
profile: minimal
override: true
- name: Run sccache-cache
uses: Xuanwo/sccache-action@c94e27bef21ab3fb4a5152c8a878c53262b4abb0
with:
version: "v0.4.0-pre.6"
uses: mozilla-actions/[email protected]
- name: Get Date
id: get-date
run: |
Expand Down

0 comments on commit c30b1f7

Please sign in to comment.