chore(deps): bump actions/checkout from 4.1.7 to 4.2.0 #197
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: "Build" | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [macos-latest, ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Free disk space | |
# https://github.com/actions/virtual-environments/issues/709 | |
run: | | |
echo "========= Original CI disk space" | |
df -h | |
sudo rm -rf "/usr/local/share/boost" | |
sudo rm -rf "$AGENT_TOOLSDIRECTORY" | |
echo "========= After clean up CI disk space" | |
df -h | |
- name: Check out repository | |
uses: actions/[email protected] | |
- name: Install Nix | |
uses: cachix/install-nix-action@V28 | |
with: | |
extra_nix_config: | | |
accept-flake-config = true | |
auto-optimise-store = true | |
- name: Setup binary cache | |
uses: cachix/cachix-action@v15 | |
with: | |
name: stackrox | |
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" | |
- name: Build dev environment | |
run: nix develop --fallback |