From efbb63bdef233b4b05f7765390952a18435d0fec Mon Sep 17 00:00:00 2001 From: UnstoppableMango Date: Mon, 21 Sep 2026 08:23:47 -0500 Subject: [PATCH] ci: adopt unmango/actions Install Nix through unmango/actions/setup-nix inside the local nix composite action, and run release-please through the shared reusable workflow. Co-Authored-By: Claude Opus 5 --- .github/actions/nix/action.yml | 9 ++------- .github/workflows/release-please.yml | 13 ++++++------- 2 files changed, 8 insertions(+), 14 deletions(-) diff --git a/.github/actions/nix/action.yml b/.github/actions/nix/action.yml index 0b3c023..87ade12 100644 --- a/.github/actions/nix/action.yml +++ b/.github/actions/nix/action.yml @@ -14,12 +14,7 @@ inputs: runs: using: composite steps: - - uses: cachix/install-nix-action@v31 + - uses: unmango/actions/setup-nix@3ec4ed5a6af9c00f6a39e079df488573c77ebda6 # v1.0.1 with: github_access_token: ${{ inputs.github-token }} - - - uses: cachix/cachix-action@v17 - with: - name: unstoppablemango - authToken: ${{ inputs.cachix-token }} - skipPush: ${{ inputs.cachix-token == '' }} + cachix_auth_token: ${{ inputs.cachix-token }} diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 1c8c37d..4b23bca 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -11,10 +11,9 @@ permissions: jobs: release-please: - runs-on: ubuntu-latest - steps: - - uses: googleapis/release-please-action@v5 - with: - token: ${{ secrets.RELEASE_PLEASE_TOKEN }} - config-file: release-please-config.json - manifest-file: .release-please-manifest.json + uses: unmango/actions/.github/workflows/release-please.yml@3ec4ed5a6af9c00f6a39e079df488573c77ebda6 # v1.0.1 + with: + config-file: release-please-config.json + manifest-file: .release-please-manifest.json + secrets: + token: ${{ secrets.RELEASE_PLEASE_TOKEN }}