chore(deps): bump github/codeql-action from 3.26.11 to 3.26.12 #507
Workflow file for this run
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
name: "Validations" | |
on: | |
merge_group: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
Static-Analysis: | |
# Note: changing this job name requires making the same update in the .github/workflows/release.yaml pipeline | |
name: "Static analysis" | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 #v4.2.0 | |
- name: Bootstrap environment | |
uses: ./.github/actions/bootstrap | |
- name: Run static analysis | |
run: make static-analysis | |
Unit-Test: | |
# Note: changing this job name requires making the same update in the .github/workflows/release.yaml pipeline | |
name: "Unit tests" | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 #v4.2.0 | |
- name: Bootstrap environment | |
uses: ./.github/actions/bootstrap | |
- name: Build cache key for test-fixture | |
run: make fixtures-fingerprint | |
- name: Restore test-fixture cache | |
id: unit-fixture-cache | |
uses: actions/cache@2cdf405574d6ef1f33a1d12acccd3ae82f47b3f2 #v4.1.0 | |
with: | |
path: internal/git/test-fixtures/repos | |
key: ${{ runner.os }}-unit-fixture-cache-${{ hashFiles( 'internal/git/test-fixtures/cache.fingerprint' ) }} | |
- name: Run unit tests | |
run: make unit | |
Build-Snapshot-Artifacts: | |
name: "Build snapshot artifacts" | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 #v4.2.0 | |
- name: Bootstrap environment | |
uses: ./.github/actions/bootstrap | |
with: | |
# why have another build cache key? We don't want unit/integration/etc test build caches to replace | |
# the snapshot build cache, which includes builds for all OSs and architectures. As long as this key is | |
# unique from the build-cache-key-prefix in other CI jobs, we should be fine. | |
# | |
# note: ideally this value should match what is used in release (just to help with build times). | |
build-cache-key-prefix: "snapshot" | |
- name: Build snapshot artifacts | |
run: make snapshot |