Skip to content

ci: bump nix-community/cache-nix-action from 6.1.3 to 7.0.0 in the github-actions group #31

ci: bump nix-community/cache-nix-action from 6.1.3 to 7.0.0 in the github-actions group

ci: bump nix-community/cache-nix-action from 6.1.3 to 7.0.0 in the github-actions group #31

Workflow file for this run

name: CI
on:
pull_request:
paths-ignore:
- "README.md"
push:
branches:
- main
paths-ignore:
- "README.md"
permissions: {}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
check:
name: check
runs-on: ${{ github.repository_owner == 'coder' && 'depot-ubuntu-latest' || 'ubuntu-latest' }}
permissions:
contents: read
actions: write
steps:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
fetch-depth: 0
fetch-tags: true
persist-credentials: false
- name: Setup Nix
uses: nixbuild/nix-quick-install-action@2c9db80fb984ceb1bcaa77cdda3fdf8cfba92035 # v34
- name: Cache Nix store
uses: nix-community/cache-nix-action@b426b118b6dc86d6952988d396aa7c6b09776d08 # v7.0.0
with:
primary-key: nix-acp-go-sdk-${{ runner.os }}-${{ hashFiles('**/*.nix', 'flake.lock') }}
restore-prefixes-first-match: nix-acp-go-sdk-${{ runner.os }}-
gc-max-store-size-linux: 2G
purge: true
purge-prefixes: nix-acp-go-sdk-${{ runner.os }}-
purge-created: 0
purge-primary-key: never
- name: Check formatting (treefmt)
run: nix develop .# --command treefmt --fail-on-change
- name: Make tests
run: nix develop .# --command make test
- name: Nix flake checks
run: nix flake check