summaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yaml
diff options
context:
space:
mode:
authorseth <[email protected]>2023-05-30 19:44:41 -0400
committerseth <[email protected]>2023-05-30 20:01:28 -0400
commited8b784c78b759a59dbb0232e04d00604a611699 (patch)
tree84b5d916da4c361c3ce9d29fa4b665a92f79ea4c /.github/workflows/ci.yaml
parentd4b67a57aa3b081e01401f723ef5974459ed3171 (diff)
ci: don't use unmaintained actions
Diffstat (limited to '.github/workflows/ci.yaml')
-rw-r--r--.github/workflows/ci.yaml14
1 files changed, 4 insertions, 10 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 1237ddc..bebf885 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -6,7 +6,6 @@ on:
workflow_dispatch:
permissions:
- checks: write
contents: write
packages: write
@@ -17,14 +16,11 @@ jobs:
format:
name: format project
- if: github.event_name != 'pull_request'
- needs: lint
uses: ./.github/workflows/format.yaml
build:
runs-on: ubuntu-latest
- needs: format
- if: always() && (needs.format.result == 'success' || needs.format.result == 'skipped')
+ needs: lint
strategy:
matrix:
@@ -33,12 +29,10 @@ jobs:
steps:
- uses: actions/checkout@v3
- - uses: cachix/install-nix-action@v21
-
- - uses: cachix/cachix-action@v12
+ - name: setup nix & cachix
+ uses: ./.github/actions/setup-nix
with:
- name: getchoo
- authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
+ cachix-token: ${{ secrets.CACHIX_AUTH_TOKEN }}
- name: build
run: |