Skip to content

chore(flake/nixpkgs): 376250fa -> b681ff2c #3537

chore(flake/nixpkgs): 376250fa -> b681ff2c

chore(flake/nixpkgs): 376250fa -> b681ff2c #3537

Workflow file for this run

on:
push:
branches:
- main
pull_request:
branches:
- main
name: CI
concurrency:
group: ${{ github.repository }}-${{ github.head_ref || github.sha }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
nix:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@6004951b182f8860210c8d6f0d808ec5b1a33d28 # v25
with:
nix_path: nixpkgs=channel:nixos-unstable-small
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- uses: cachix/cachix-action@v14
with:
name: minesweep
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
extraPullNames: nix-community,naersk
- name: build image
run: nix build --keep-going --print-build-logs '.#minesweep-image' --no-link
- name: load image
run: |
set -euo pipefail
docker load -i "$(nix path-info --print-build-logs '.#minesweep-image')"
- name: show help
run: |
set -euo pipefail
docker run --rm "minesweep:$(nix eval --raw '.#minesweep-image.imageTag')" --help
- run: docker images minesweep
release:
needs:
- nix
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
id: generate-token
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ steps.generate-token.outputs.token }}
- uses: cachix/install-nix-action@6004951b182f8860210c8d6f0d808ec5b1a33d28 # v25
with:
nix_path: nixpkgs=channel:nixos-unstable-small
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- uses: cachix/cachix-action@v14
with:
name: minesweep
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
extraPullNames: nix-community,naersk
- uses: actions/setup-node@v4
with:
node-version: 14
- uses: cycjimmy/[email protected]
with:
extra_plugins: |
@semantic-release/[email protected]
@semantic-release/[email protected]
@semantic-release/[email protected]
@semantic-release/[email protected]
@semantic-release/[email protected]
@semantic-release/[email protected]
env:
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}
CARGO_REGISTRY_TOKEN: ${{ secrets.MINESWEEP_CARGO_REGISTRY_TOKEN }}