Skip to content

Commit

Permalink
Merge pull request #52 from oqc-community/jd/cache-refresh-workflow
Browse files Browse the repository at this point in the history
Add cache refresh workflow
  • Loading branch information
chemix-lunacy authored Jun 12, 2024
2 parents 9ca8675 + 982d6ca commit 3e754ef
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/cache-refresh.yaml
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 }}

0 comments on commit 3e754ef

Please sign in to comment.