Skip to content

Commit 6f91340

Browse files
committed
ci: retarget typecheck/test to fork/local, drop blacksmith runners, fix concurrency expr
1 parent 96a0578 commit 6f91340

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/test.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ name: test
33
on:
44
push:
55
branches:
6-
- dev
6+
- fork/local
77
pull_request:
88
workflow_dispatch:
99

1010
concurrency:
11-
# Keep every run on dev so cancelled checks do not pollute the default branch
11+
# Keep every run on fork/local so cancelled checks do not pollute the default branch
1212
# commit history. PRs and other branches still share a group and cancel stale runs.
13-
group: ${{ case(github.ref == 'refs/heads/dev', format('{0}-{1}', github.workflow, github.run_id), format('{0}-{1}', github.workflow, github.event.pull_request.number || github.ref)) }}
13+
group: ${{ github.ref == 'refs/heads/fork/local' && format('{0}-{1}', github.workflow, github.run_id) || format('{0}-{1}', github.workflow, github.event.pull_request.number || github.ref) }}
1414
cancel-in-progress: true
1515

1616
permissions:
@@ -28,9 +28,9 @@ jobs:
2828
matrix:
2929
settings:
3030
- name: linux
31-
host: blacksmith-4vcpu-ubuntu-2404
31+
host: ubuntu-latest
3232
- name: windows
33-
host: blacksmith-4vcpu-windows-2025
33+
host: windows-latest
3434
runs-on: ${{ matrix.settings.host }}
3535
defaults:
3636
run:
@@ -100,9 +100,9 @@ jobs:
100100
matrix:
101101
settings:
102102
- name: linux
103-
host: blacksmith-4vcpu-ubuntu-2404
103+
host: ubuntu-latest
104104
- name: windows
105-
host: blacksmith-4vcpu-windows-2025
105+
host: windows-latest
106106
runs-on: ${{ matrix.settings.host }}
107107
env:
108108
PLAYWRIGHT_BROWSERS_PATH: ${{ github.workspace }}/.playwright-browsers

.github/workflows/typecheck.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ name: typecheck
22

33
on:
44
push:
5-
branches: [dev]
5+
branches: [fork/local]
66
pull_request:
7-
branches: [dev]
7+
branches: [fork/local]
88
workflow_dispatch:
99

1010
jobs:
1111
typecheck:
12-
runs-on: blacksmith-4vcpu-ubuntu-2404
12+
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout repository
1515
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1

0 commit comments

Comments
 (0)