Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd5d8b91

Browse files
authored
feat: lint github actions workflows (#13552)
1 parent8a35925 commitd5d8b91

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

‎.github/workflows/ci.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,12 @@ jobs:
191191
run:|
192192
make --output-sync=line -j lint
193193
194+
-name:Check workflow files
195+
run:|
196+
bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash) 1.6.22
197+
./actionlint -color -shellcheck= -ignore "set-output"
198+
shell:bash
199+
194200
gen:
195201
timeout-minutes:8
196202
runs-on:${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-latest' }}

‎.github/workflows/nightly-gauntlet.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
# While GitHub's toaster runners are likelier to flake, we want consistency
1212
# between this environment and the regular test environment for DataDog
1313
# statistics and to only show real workflow threats.
14-
runs-on:"depot-ubuntu-22.04-8"
14+
runs-on:${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-latest' }}
1515
# This runner costs 0.016 USD per minute,
1616
# so 0.016 * 240 = 3.84 USD per run.
1717
timeout-minutes:240
@@ -40,7 +40,7 @@ jobs:
4040

4141
go-timing:
4242
# We run these tests with p=1 so we don't need a lot of compute.
43-
runs-on:"depot-ubuntu-22.04"
43+
runs-on:${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04' || 'ubuntu-latest' }}
4444
timeout-minutes:10
4545
steps:
4646
-name:Checkout

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp