File tree Expand file tree Collapse file tree 2 files changed +13
-13
lines changed
Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Original file line number Diff line number Diff 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 $'
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
Original file line number Diff line number Diff 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 $'
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
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
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
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
You can’t perform that action at this time.
0 commit comments