Skip to content

Commit 2567cce

Browse files
committed
ci: remove self hosted runner
1 parent cc991a2 commit 2567cce

File tree

3 files changed

+11
-14
lines changed

3 files changed

+11
-14
lines changed

.github/actions/setup-script/action.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,7 @@ inputs:
2222
runs:
2323
using: 'composite'
2424
steps:
25-
- name: Setup testbin cache
26-
shell: bash
27-
if: ${{ runner.environment != 'github-hosted' }}
28-
run: |
29-
echo "TESTDATA_PATH=/opt/cache/testdata" >> $GITHUB_ENV
30-
25+
3126
- name: Install uv
3227
uses: astral-sh/setup-uv@c7f87aa956e4c323abf06d5dec078e358f6b4d04 # v6.0.0
3328
with:
@@ -40,7 +35,7 @@ runs:
4035
uv sync
4136
4237
- name: Cache test binaries
43-
if: ${{ inputs.cache != '' && runner.environment == 'github-hosted' }}
38+
if: ${{ inputs.cache != '' }}
4439
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
4540
with:
4641
path: ./scripts/bins

.github/workflows/built-tests.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
checks: write
6868
strategy:
6969
matrix:
70-
os: [ ubuntu-24.04, ubuntu-24.04-arm, windows-latest, macos-13, macos-14, self-hosted ]
70+
os: [ ubuntu-24.04, ubuntu-24.04-arm, windows-latest, macos-13, macos-14 ]
7171
test: [ unit, integration-example, integration-real ]
7272
include:
7373
- test: unit
@@ -88,8 +88,8 @@ jobs:
8888
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
8989
with:
9090
go-version: '1.25.1'
91-
cache: ${{ runner.environment == 'github-hosted' }}
92-
check-latest: ${{ runner.environment == 'github-hosted' }}
91+
cache: true
92+
check-latest: true
9393

9494
- name: Setup Go global dependencies
9595
run: |
@@ -112,7 +112,7 @@ jobs:
112112
script: 'tests.py --${{ matrix.test }}'
113113
report: 'true'
114114
coverage: 'true'
115-
cache-python: ${{ matrix.os != 'self-hosted' }}
115+
cache-python: true
116116
env:
117117
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
118118

@@ -128,7 +128,7 @@ jobs:
128128
verbose: true
129129

130130
- name: Upload test results to Codecov
131-
if: ${{ !cancelled() && matrix.test-type == 'unit' && matrix.os != 'self-hosted' }}
131+
if: ${{ !cancelled() && matrix.test-type == 'unit' }}
132132
uses: codecov/test-results-action@47f89e9acb64b76debcd5ea40642d25a4adced9f # v1.1.1
133133
with:
134134
token: ${{ secrets.CODECOV_TOKEN }}
@@ -153,7 +153,7 @@ jobs:
153153
continue-on-error: true
154154
strategy:
155155
matrix:
156-
os: [ ubuntu-24.04, ubuntu-24.04-arm, windows-latest, macos-13, macos-14, self-hosted ]
156+
os: [ ubuntu-24.04, ubuntu-24.04-arm, windows-latest, macos-13, macos-14 ]
157157
steps:
158158
- name: Merge
159159
uses: actions/upload-artifact/merge@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,6 @@ data.json
2626

2727
*.sarif
2828

29-
unit*.xml
29+
unit*.xml
30+
31+
ref

0 commit comments

Comments
 (0)