Skip to content

Commit cde0dca

Browse files
mayastor-borsAbhinandan-Purkait
andcommitted
Merge #1866
1866: ci: use cachix instead of determinate systems r=Abhinandan-Purkait a=Abhinandan-Purkait Co-authored-by: Abhinandan Purkait <[email protected]>
2 parents 8b4cfaf + 3b4bfd2 commit cde0dca

File tree

5 files changed

+9
-12
lines changed

5 files changed

+9
-12
lines changed

.github/workflows/bdd.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ jobs:
2020
fetch-depth: 0
2121
submodules: 'recursive'
2222

23-
- uses: DeterminateSystems/nix-installer-action@v14
23+
- uses: cachix/install-nix-action@v31.3.0
2424
with:
25-
github-token: '' ## Override the default the token
25+
github_access_token: ''
2626

2727
- name: Inject github token to nix config
2828
run: |
@@ -34,7 +34,7 @@ jobs:
3434
- name: Restart Nix daemon
3535
run: sudo systemctl restart nix-daemon
3636

37-
- uses: DeterminateSystems/magic-nix-cache-action@v8
37+
- uses: cachix/install-nix-action@v31.3.0
3838

3939
- name: Pre-populate nix-shell
4040
run: |

.github/workflows/image-pr.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ jobs:
1414
- uses: actions/checkout@v4
1515
with:
1616
submodules: 'recursive'
17-
- uses: DeterminateSystems/nix-installer-action@v14
18-
- uses: DeterminateSystems/magic-nix-cache-action@v8
17+
- uses: cachix/[email protected]
1918
- name: Test building the release images
2019
run: ./scripts/release.sh --skip-publish --build-bins

.github/workflows/image.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ jobs:
2626
if [ "${{ github.ref_type }}" == "tag" ]; then
2727
git fetch -f origin ${{ github.ref }}:${{ github.ref }}
2828
fi
29-
- uses: DeterminateSystems/nix-installer-action@v14
30-
- uses: DeterminateSystems/magic-nix-cache-action@v8
29+
- uses: cachix/[email protected]
3130
- name: Login to Docker Hub
3231
uses: docker/login-action@v3
3332
with:

.github/workflows/lint.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ jobs:
1414
- uses: actions/checkout@v4
1515
with:
1616
submodules: 'recursive'
17-
- uses: DeterminateSystems/nix-installer-action@v14
18-
- uses: DeterminateSystems/magic-nix-cache-action@v8
17+
- uses: cachix/[email protected]
1918
- name: Pre-populate nix-shell
2019
run: |
2120
export NIX_PATH=nixpkgs=$(jq '.nixpkgs.url' nix/sources.json -r)

.github/workflows/unit-int.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ jobs:
2020
fetch-depth: 0
2121
submodules: 'recursive'
2222

23-
- uses: DeterminateSystems/nix-installer-action@v14
23+
- uses: cachix/install-nix-action@v31.3.0
2424
with:
25-
github-token: '' ## Override the default the token
25+
github_access_token: ''
2626

2727
- name: Inject github token to nix config
2828
run: |
@@ -34,7 +34,7 @@ jobs:
3434
- name: Restart Nix daemon
3535
run: sudo systemctl restart nix-daemon
3636

37-
- uses: DeterminateSystems/magic-nix-cache-action@v8
37+
- uses: cachix/install-nix-action@v31.3.0
3838

3939
- name: Pre-populate nix-shell
4040
run: |

0 commit comments

Comments
 (0)