Skip to content

Commit 0da4870

Browse files
committed
feat: replace container usage with install-nix-action
1 parent 7a75eca commit 0da4870

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/library-js-feature.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ jobs:
88
feature-lint:
99
name: "Feature / Lint"
1010
runs-on: ubuntu-latest
11-
container:
12-
image: ghcr.io/matrixai/github-runner
1311
permissions:
1412
packages: read
1513
contents: read
1614
steps:
1715
- uses: actions/checkout@v4
16+
- name: Install Nix
17+
uses: cachix/install-nix-action@v30
1818
- name: Run linting
1919
run: |
2020
nix develop .#ci --command bash -c $'
@@ -25,14 +25,14 @@ jobs:
2525
feature-build:
2626
name: "Feature / Build"
2727
runs-on: ubuntu-latest
28-
container:
29-
image: ghcr.io/matrixai/github-runner
3028
permissions:
3129
packages: read
3230
contents: read
3331
actions: write
3432
steps:
3533
- uses: actions/checkout@v4
34+
- name: Install Nix
35+
uses: cachix/install-nix-action@v30
3636
- name: Run build
3737
run: |
3838
nix develop .#ci --command bash -c $'
@@ -48,15 +48,15 @@ jobs:
4848
feature-test:
4949
name: "Feature / Test"
5050
runs-on: ubuntu-latest
51-
container:
52-
image: ghcr.io/matrixai/github-runner
5351
permissions:
5452
packages: read
5553
contents: read
5654
actions: write
5755
checks: write
5856
steps:
5957
- uses: actions/checkout@v4
58+
- name: Install Nix
59+
uses: cachix/install-nix-action@v30
6060
- name: Run tests
6161
run: |
6262
nix develop .#ci --command bash -c $'
@@ -83,14 +83,14 @@ jobs:
8383
feature-bench:
8484
name: "Feature / Bench"
8585
runs-on: ubuntu-latest
86-
container:
87-
image: ghcr.io/matrixai/github-runner
8886
permissions:
8987
packages: read
9088
contents: read
9189
actions: write
9290
steps:
9391
- uses: actions/checkout@v4
92+
- name: Install Nix
93+
uses: cachix/install-nix-action@v30
9494
- name: Run bench
9595
run: |
9696
nix develop .#ci --command bash -c $'

0 commit comments

Comments
 (0)