Skip to content

Commit eb97784

Browse files
committed
remove Delete huge unnecessary tools folder
1 parent aaa9e86 commit eb97784

File tree

3 files changed

+3
-11
lines changed

3 files changed

+3
-11
lines changed

.github/npm_test_integration.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env bash
2+
set -euo pipefail
23
OUR_NIX=$(readlink -f $(which nix))
34
OUR_NIX_PARENT=$(dirname $OUR_NIX)
45
TEE=$(which tee)

.github/workflows/test.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -193,10 +193,6 @@ jobs:
193193
needs: changes
194194
if: ${{ ! (needs.changes.outputs.package-lock-json == 'true' && github.actor == 'renovate[bot]' && github.event_name == 'pull_request') }}
195195
steps:
196-
- name: Delete huge unnecessary tools folder
197-
run: |
198-
cd /opt
199-
find . -maxdepth 1 -mindepth 1 '!' -path ./containerd '!' -path ./actionarchivecache '!' -path ./runner '!' -path ./runner-cache -exec rm -rf '{}' ';'
200196
- uses: actions/checkout@v4
201197
- uses: ./.github/actions/setup-nix
202198
with:
@@ -240,10 +236,6 @@ jobs:
240236
needs: changes
241237
if: ${{ ! (needs.changes.outputs.package-lock-json == 'true' && github.actor == 'renovate[bot]' && github.event_name == 'pull_request') }}
242238
steps:
243-
- name: Delete huge unnecessary tools folder
244-
run: |
245-
cd /opt
246-
find . -maxdepth 1 -mindepth 1 '!' -path ./containerd '!' -path ./actionarchivecache '!' -path ./runner '!' -path ./runner-cache -exec rm -rf '{}' ';'
247239
- uses: actions/checkout@v4
248240
- uses: ./.github/actions/setup-nix
249241
with:
@@ -286,9 +278,6 @@ jobs:
286278
runs-on: [self-hosted, Linux, X64]
287279
steps:
288280
- uses: actions/checkout@v4
289-
- name: Install pre-commit
290-
run: |
291-
nix develop .#ci --command python -m pip install pre-commit
292281
- name: Install node dependencies
293282
run: |
294283
nix develop .#ci --command npm ci

flake.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,8 @@
155155
pkgs.python313
156156
pkgs.nodejs_22
157157
pkgs.nixpkgs-fmt
158+
pkgs.pre-commit
159+
pkgs.which
158160
];
159161
};
160162
forNpmTesting = pkgs.mkShell {

0 commit comments

Comments
 (0)