Added Docker prereq #5289
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: bolt-check | |
on: push | |
concurrency: | |
group: check-${{ github.ref }} | |
cancel-in-progress: true | |
defaults: | |
run: | |
# Enable fail-fast behavior | |
shell: bash -e {0} | |
env: | |
store: /home/runner/nix | |
jobs: | |
check: | |
runs-on: [self-hosted, linux, x64] | |
steps: | |
# MARK: Git | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
submodules: recursive | |
- uses: ./.github/actions/pre-init | |
with: | |
SCCACHE_AWS_SECRET_ACCESS_KEY: ${{ secrets.SCCACHE_AWS_SECRET_ACCESS_KEY }} | |
SCCACHE_AWS_ACCESS_KEY_ID: ${{ secrets.SCCACHE_AWS_ACCESS_KEY_ID }} | |
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }} | |
- name: Bolt Change Project | |
run: nix-shell --pure --run "bolt config set-namespace ci" | |
- name: Bolt Generate Project | |
run: nix-shell --pure --run "bolt gen project" | |
- name: Bolt Check | |
run: nix-shell --pure --run "bolt check -g --validate-format" | |
- name: Force Parallel Failure | |
if: failure() | |
uses: andymckay/[email protected] |