Skip to content

Commit

Permalink
Review updates and explicitly disable caching for CodeQL
Browse files Browse the repository at this point in the history
  • Loading branch information
alan-forbes-cp committed Nov 26, 2024
1 parent b9369b0 commit 90f1f72
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/cache_clean.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,20 @@
name: Cache clean

on:
# TODO restore schedule
#schedule:
# # Run Mon-Sun at 11pm
# - cron: '00 23 * * 1-7'
schedule:
# Run Mon-Sun at 11pm
- cron: '00 23 * * 1-7'
workflow_dispatch:
inputs:
inputs:
dryrun:
required: true
type: boolean
default: true
# TODO delete pull_request
pull_request:
branches:
- main
paths:
'.github/workflows/cache_clean.yml'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -35,7 +37,7 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Define unique cache prefixes for deletion
CACHE_PREFIX_LIST: "codeql-trap- sccache-sccache-"
CACHE_PREFIX_LIST: "sccache-sccache-"
run: |
# Install gh cache manager extension
gh extension install actions/gh-actions-cache
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
with:
languages: c-cpp
build-mode: manual
trap-caching: false

- name: build host x86_64 release
uses: ./.github/actions/do_build_ock
Expand Down Expand Up @@ -97,6 +98,7 @@ jobs:
with:
languages: c-cpp
build-mode: manual
trap-caching: false

- name: build riscv m1
uses: ./.github/actions/do_build_ock/do_build_m1
Expand Down

0 comments on commit 90f1f72

Please sign in to comment.