-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (29 loc) · 976 Bytes
/
Copy pathcopilot-setup-steps.yml
File metadata and controls
30 lines (29 loc) · 976 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
on:
push:
paths:
- .github/workflows/copilot-setup-steps.yml
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths:
- .github/workflows/copilot-setup-steps.yml
workflow_dispatch:
jobs:
copilot-setup-steps:
if: github.event_name != 'pull_request' || github.event.pull_request.draft == false
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v6
- uses: cachix/install-nix-action@v31
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
extra_nix_config: |
extra-substituters = https://cache.garnix.io
extra-trusted-public-keys = cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=
- uses: cachix/cachix-action@v17
with:
name: gfauredev
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix develop --command cargo check # Install dependencies
continue-on-error: true