chore(cicd): update install-nix-action
to v20
, add flakehub
This commit is contained in:
parent
32739fde09
commit
9f655ce1e9
2 changed files with 20 additions and 1 deletions
19
.github/workflows/flakehub.yml
vendored
Normal file
19
.github/workflows/flakehub.yml
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
name: "Publish every Git push to master to FlakeHub"
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "master"
|
||||
jobs:
|
||||
flakehub-publish:
|
||||
runs-on: "ubuntu-latest"
|
||||
permissions:
|
||||
id-token: "write"
|
||||
contents: "read"
|
||||
steps:
|
||||
- uses: "actions/checkout@v3"
|
||||
- uses: "DeterminateSystems/nix-installer-action@main"
|
||||
- uses: "DeterminateSystems/flakehub-push@main"
|
||||
with:
|
||||
name: "reo101/rix101"
|
||||
rolling: true
|
||||
visibility: "public"
|
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
|
@ -7,7 +7,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: cachix/install-nix-action@v20
|
||||
- uses: DeterminateSystems/nix-installer-action@v4
|
||||
with:
|
||||
nix_path: nixpkgs=channel:nixos-unstable
|
||||
- uses: cachix/cachix-action@v12
|
||||
|
|
Loading…
Reference in a new issue