From e476c9efbc6d125f103b0e7aae084ca6e1c3b67b Mon Sep 17 00:00:00 2001 From: Marc Jakobi Date: Sun, 16 Jun 2024 19:20:24 +0200 Subject: [PATCH 1/2] ci: fix flake-lock update action --- .github/workflows/update.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 2a543c1..10e5db1 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -9,15 +9,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Install Nix - uses: cachix/install-nix-action@v16 - with: - extra_nix_config: | - experimental-features = nix-command flakes - access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} + uses: DeterminateSystems/nix-installer-action@v12 - name: Update flake.lock - uses: DeterminateSystems/update-flake-lock@v12 + uses: DeterminateSystems/update-flake-lock@v22 with: token: ${{ secrets.GH_TOKEN_FOR_UPDATES }} pr-title: "chore: update flake.lock" # Title of PR to be created From 83b403d135341f078c4532c31a30ca7fc369166a Mon Sep 17 00:00:00 2001 From: Marc Jakobi Date: Sun, 16 Jun 2024 19:30:21 +0200 Subject: [PATCH 2/2] ci: update nix-build workflow --- .github/workflows/nix-build.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/nix-build.yml b/.github/workflows/nix-build.yml index 548def1..18f728a 100644 --- a/.github/workflows/nix-build.yml +++ b/.github/workflows/nix-build.yml @@ -18,12 +18,11 @@ jobs: - .#packages.x86_64-linux.tailor-gui - .#checks.x86_64-linux.formatting steps: - - uses: actions/checkout@v3 - - uses: cachix/install-nix-action@v20 - with: - extra_nix_config: | - access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} - - uses: cachix/cachix-action@v12 + - uses: actions/checkout@v4 + - name: Install Nix + uses: DeterminateSystems/nix-installer-action@v12 + - name: Set up cachix + uses: cachix/cachix-action@v15 with: name: tuxedo-rs authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'