jj/.github/workflows/build-nix.yml

39 lines
1.1 KiB
YAML
Raw Normal View History

name: nix
2022-02-20 20:48:51 +00:00
on:
push:
branches:
- '**'
# Disable builds on these branches, because they will become a pull
# request, and be handled by merge_group below.
- '!dependabot/**'
# `main` and `gh-readonly-queue` are handled by merge_group specifically.
- '!gh-readonly-queue/**'
- '!main'
2022-02-20 20:48:51 +00:00
pull_request:
merge_group:
2022-02-20 20:48:51 +00:00
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
permissions: read-all
2022-02-20 20:48:51 +00:00
jobs:
nix:
strategy:
fail-fast: false
matrix:
os: [ubuntu-24.04, macos-14]
runs-on: ${{ matrix.os }}
timeout-minutes: 15 # NOTE (aseipp): keep in-sync with the build.yml timeout limit
name: flake check
2022-02-20 20:48:51 +00:00
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
2022-02-20 20:48:51 +00:00
with:
fetch-depth: 0
- uses: DeterminateSystems/nix-installer-action@e50d5f73bfe71c2dd0aa4218de8f4afa59f8f81d
github: bump the github-dependencies group with 3 updates Bumps the github-dependencies group with 3 updates: [DeterminateSystems/magic-nix-cache-action](https://github.com/determinatesystems/magic-nix-cache-action), [taiki-e/install-action](https://github.com/taiki-e/install-action) and [github/codeql-action](https://github.com/github/codeql-action). Updates `DeterminateSystems/magic-nix-cache-action` from 8 to 9 - [Release notes](https://github.com/determinatesystems/magic-nix-cache-action/releases) - [Commits](https://github.com/determinatesystems/magic-nix-cache-action/compare/87b14cf437d03d37989d87f0fa5ce4f5dc1a330b...6221693898146dc97e38ad0e013488a16477a4c4) Updates `taiki-e/install-action` from 2.47.21 to 2.47.23 - [Release notes](https://github.com/taiki-e/install-action/releases) - [Changelog](https://github.com/taiki-e/install-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/taiki-e/install-action/compare/da41fb311fbbcecf899732e575aaeaa2fe65c934...7e1dca9e0c58340bd342a8aa00ad82587936018d) Updates `github/codeql-action` from 3.28.1 to 3.28.2 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/b6a472f63d85b9c78a3ac5e89422239fc15e9b3c...d68b2d4edb4189fd2a5366ac14e72027bd4b37dd) --- updated-dependencies: - dependency-name: DeterminateSystems/magic-nix-cache-action dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-dependencies - dependency-name: taiki-e/install-action dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-dependencies - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-dependencies ... Signed-off-by: dependabot[bot] <support@github.com>
2025-01-22 15:45:04 +00:00
- uses: DeterminateSystems/magic-nix-cache-action@6221693898146dc97e38ad0e013488a16477a4c4
- run: nix flake check -L --show-trace