-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Just keeps caches active if activity on the repository is reduced.
- Loading branch information
1 parent
9ca8675
commit 982d6ca
Showing
1 changed file
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Cache refresh | ||
|
||
on: | ||
schedule: | ||
- cron: "0 0 1,6,11,16,21,26,31 * *" # Every 5 days, give or take. | ||
workflow_dispatch: | ||
|
||
permissions: | ||
contents: write | ||
actions: write | ||
|
||
jobs: | ||
refresh: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ "ubuntu-20.04", "windows-2019", "macos-14", "macos-latest" ] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup rust toolchain | ||
uses: ./.github/actions/rust-toolchain | ||
with: | ||
toolchain: 1.75.0 | ||
components: rustfmt clippy | ||
- name: Set up Python 3.9 | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: 3.9 | ||
if: ${{ matrix.os != 'macos-14' && matrix.os != 'macos-latest' }} | ||
- name: Install LLVM | ||
uses: ./.github/actions/install-llvm | ||
with: | ||
version: "15" | ||
os: ${{ matrix.os }} |