Skip to content

Commit 56284d6

Browse files
committed
Revert "feat: replace container usage with install-nix-action"
This reverts commit bbf2cdc.
1 parent bbf2cdc commit 56284d6

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ jobs:
1919
staging-lint:
2020
name: "Staging / Lint"
2121
runs-on: ubuntu-latest
22+
container:
23+
image: ghcr.io/matrixai/github-runner
2224
permissions:
2325
packages: read
2426
contents: read
2527
steps:
2628
- uses: actions/checkout@v4
27-
- name: Install Nix
28-
uses: cachix/install-nix-action@v30
2929
- name: Run linting
3030
run: |
3131
nix develop .#ci --command bash -c $'
@@ -62,14 +62,14 @@ jobs:
6262
staging-build:
6363
name: "Staging / Build"
6464
runs-on: ubuntu-latest
65+
container:
66+
image: ghcr.io/matrixai/github-runner
6567
permissions:
6668
packages: read
6769
contents: read
6870
actions: write
6971
steps:
7072
- uses: actions/checkout@v4
71-
- name: Install Nix
72-
uses: cachix/install-nix-action@v30
7373
- name: Run build
7474
run: |
7575
nix develop .#ci --command bash -c $'
@@ -88,6 +88,8 @@ jobs:
8888
needs:
8989
- staging-build
9090
runs-on: ${{ matrix.os }}
91+
container:
92+
image: ${{ matrix.platform == 'linux' && 'ghcr.io/matrixai/github-runner' || null }}
9193
permissions:
9294
packages: read
9395
contents: read
@@ -131,8 +133,6 @@ jobs:
131133
npm run bench --if-present
132134
steps:
133135
- uses: actions/checkout@v4
134-
- name: Install Nix
135-
uses: cachix/install-nix-action@v30
136136
- uses: actions/download-artifact@v4
137137
with:
138138
name: dist
@@ -199,4 +199,4 @@ jobs:
199199
--repo "$GITHUB_REPOSITORY"
200200
git checkout master
201201
git merge --ff-only "$GITHUB_SHA"
202-
git push origin master
202+
git push origin master

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ jobs:
1111
tag-build:
1212
name: "Tag / Build"
1313
runs-on: ubuntu-latest
14+
container:
15+
image: ghcr.io/matrixai/github-runner
1416
permissions:
1517
packages: read
1618
contents: read
1719
actions: write
1820
steps:
1921
- uses: actions/checkout@v4
20-
- name: Install Nix
21-
uses: cachix/install-nix-action@v30
2222
- name: Run build
2323
run: |
2424
nix develop .#ci --command bash -c $'
@@ -34,6 +34,8 @@ jobs:
3434
tag-prerelease:
3535
name: "Tag / Pre-release"
3636
runs-on: ubuntu-latest
37+
container:
38+
image: ghcr.io/matrixai/github-runner
3739
concurrency:
3840
group: tag-prerelease
3941
cancel-in-progress: false
@@ -45,8 +47,6 @@ jobs:
4547
if: startsWith(github.ref, 'refs/tags/v') && contains(github.ref, '-')
4648
steps:
4749
- uses: actions/checkout@v4
48-
- name: Install Nix
49-
uses: cachix/install-nix-action@v30
5050
- uses: actions/download-artifact@v4
5151
with:
5252
name: dist
@@ -68,6 +68,8 @@ jobs:
6868
tag-release:
6969
name: "Tag / Release"
7070
runs-on: ubuntu-latest
71+
container:
72+
image: ghcr.io/matrixai/github-runner
7173
concurrency:
7274
group: release-distribution
7375
cancel-in-progress: false
@@ -79,8 +81,6 @@ jobs:
7981
if: startsWith(github.ref, 'refs/tags/v') && !contains(github.ref, '-')
8082
steps:
8183
- uses: actions/checkout@v4
82-
- name: Install Nix
83-
uses: cachix/install-nix-action@v30
8484
- uses: actions/download-artifact@v4
8585
with:
8686
name: dist

0 commit comments

Comments
 (0)