chore(deps): bump github.com/klauspost/compress from 1.17.4 to 1.17.5… #631
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: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request: | |
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-20.04 | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1 | |
- 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: macOS-12 | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1 | |
with: | |
# this downloads and initializes LFS, but does not pull the objects | |
lfs: true | |
- name: Checkout LFS objects | |
# lfs pull does a lfs fetch and lfs checkout, this is NOT the same as "git pull" | |
run: git lfs pull | |
- name: Bootstrap environment | |
uses: ./.github/actions/bootstrap | |
- name: Run unit tests | |
run: make unit | |
- uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 #v4.3.0 | |
with: | |
name: unit-test-results | |
path: test/results/**/* | |
Build-Snapshot-Artifacts: | |
name: "Build snapshot artifacts" | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1 | |
- name: Bootstrap environment | |
uses: ./.github/actions/bootstrap | |
- name: Build snapshot artifacts | |
run: make snapshot | |
# why not use actions/upload-artifact? It is very slow (3 minutes to upload ~600MB of data, vs 10 seconds with this approach). | |
# see https://github.com/actions/upload-artifact/issues/199 for more info | |
- name: Upload snapshot artifacts | |
uses: actions/cache/save@13aacd865c20de90d75de3b17ebe84f7a17d57d2 #v4.0.0 | |
with: | |
path: snapshot | |
key: snapshot-build-${{ github.run_id }} | |
Acceptance-Linux: | |
# Note: changing this job name requires making the same update in the .github/workflows/release.yaml pipeline | |
name: "Acceptance tests (Linux)" | |
needs: [Build-Snapshot-Artifacts] | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1 | |
- name: Download snapshot build | |
uses: actions/cache/restore@13aacd865c20de90d75de3b17ebe84f7a17d57d2 #v4.0.0 | |
with: | |
path: snapshot | |
key: snapshot-build-${{ github.run_id }} | |
- name: Restore install.sh test image cache | |
id: install-test-image-cache | |
uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 #v4.0.0 | |
with: | |
path: ${{ github.workspace }}/test/install/cache | |
key: ${{ runner.os }}-install-test-image-cache-${{ hashFiles('test/install/cache.fingerprint') }} | |
- name: Load test image cache | |
if: steps.install-test-image-cache.outputs.cache-hit == 'true' | |
run: make install-test-cache-load | |
- name: Run install.sh tests (Linux) | |
run: make install-test | |
- name: (cache-miss) Create test image cache | |
if: steps.install-test-image-cache.outputs.cache-hit != 'true' | |
run: make install-test-cache-save | |
Cli-Linux: | |
# Note: changing this job name requires making the same update in the .github/workflows/release.yaml pipeline | |
name: "CLI tests" | |
needs: [Build-Snapshot-Artifacts] | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1 | |
with: | |
# this downloads and initializes LFS, but does not pull the objects | |
lfs: true | |
- name: Checkout LFS objects | |
# lfs pull does a lfs fetch and lfs checkout, this is NOT the same as "git pull" | |
run: git lfs pull | |
- name: Bootstrap environment | |
uses: ./.github/actions/bootstrap | |
- name: Download snapshot build | |
uses: actions/cache/restore@13aacd865c20de90d75de3b17ebe84f7a17d57d2 #v4.0.0 | |
with: | |
path: snapshot | |
key: snapshot-build-${{ github.run_id }} | |
- name: Run CLI Tests | |
run: make cli |