Skip to content

Commit b456fd8

Browse files
authored
Merge pull request #132 from hhefesto/update-github-workflow
Update github workflow to include magic nix cache
2 parents fb7278f + 932fba0 commit b456fd8

1 file changed

Lines changed: 15 additions & 11 deletions

File tree

.github/workflows/telomare-ci.yml

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
nix_path: nixpkgs=channel:nixos-unstable
1414
extra_nix_config: |
1515
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
16+
- uses: DeterminateSystems/magic-nix-cache-action@v2
1617
- uses: cachix/cachix-action@v14
1718
with:
1819
name: telomare
@@ -46,12 +47,13 @@ jobs:
4647
runs-on: ubuntu-latest
4748
steps:
4849
- name: Checkout telomare repository
49-
uses: actions/checkout@v3
50-
- uses: cachix/install-nix-action@v20
50+
uses: actions/checkout@v4
51+
- uses: cachix/install-nix-action@v25
5152
with:
5253
extra_nix_config: |
5354
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
54-
- uses: cachix/cachix-action@v12
55+
- uses: DeterminateSystems/magic-nix-cache-action@v2
56+
- uses: cachix/cachix-action@v14
5557
with:
5658
name: telomare
5759
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
@@ -71,12 +73,13 @@ jobs:
7173
runs-on: ubuntu-latest
7274
steps:
7375
- name: Checkout telomare repository
74-
uses: actions/checkout@v3
75-
- uses: cachix/install-nix-action@v20
76+
uses: actions/checkout@v4
77+
- uses: cachix/install-nix-action@v25
7678
with:
7779
extra_nix_config: |
7880
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
79-
- uses: cachix/cachix-action@v12
81+
- uses: DeterminateSystems/magic-nix-cache-action@v2
82+
- uses: cachix/cachix-action@v14
8083
with:
8184
name: telomare
8285
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
@@ -97,22 +100,23 @@ jobs:
97100
runs-on: ubuntu-latest
98101
steps:
99102
- name: Checkout telomare repository
100-
uses: actions/checkout@v3
103+
uses: actions/checkout@v4
101104
with:
102105
repository: Stand-In-Language/stand-in-language
103106
token: ${{ secrets.API_TOKEN_GITHUB }}
104107
path: ./telomare
105108
- name: Checkout telomare site repository
106-
uses: actions/checkout@v3
109+
uses: actions/checkout@v4
107110
with:
108111
repository: Stand-In-Language/stand-in-language.github.io
109112
token: ${{ secrets.API_TOKEN_GITHUB }}
110113
path: ./stand-in-language.github.io
111-
- uses: cachix/install-nix-action@v20
114+
- uses: cachix/install-nix-action@v25
112115
with:
113116
extra_nix_config: |
114117
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
115-
- uses: cachix/cachix-action@v12
118+
- uses: DeterminateSystems/magic-nix-cache-action@v2
119+
- uses: cachix/cachix-action@v14
116120
with:
117121
name: telomare
118122
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
@@ -147,7 +151,7 @@ jobs:
147151
rm -rf stand-in-language.github.io/docs/haddock/
148152
mkdir stand-in-language.github.io/docs/haddock/
149153
cp -r "$doc_loc"/. stand-in-language.github.io/docs/haddock
150-
- uses: EndBug/add-and-commit@v7
154+
- uses: EndBug/add-and-commit@v9
151155
with:
152156
message: 'haddock documentation automatically updated'
153157
cwd: './stand-in-language.github.io/'

0 commit comments

Comments
 (0)