From 9f655ce1e9e3c3b38e9106bf2d6c87b322d5e20b Mon Sep 17 00:00:00 2001 From: reo101 Date: Fri, 17 Nov 2023 16:12:46 +0200 Subject: [PATCH] chore(cicd): update `install-nix-action` to `v20`, add `flakehub` --- .github/workflows/flakehub.yml | 19 +++++++++++++++++++ .github/workflows/test.yml | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/flakehub.yml diff --git a/.github/workflows/flakehub.yml b/.github/workflows/flakehub.yml new file mode 100644 index 0000000..a5df483 --- /dev/null +++ b/.github/workflows/flakehub.yml @@ -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" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a0e1ab1..03e6b03 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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