Skip to content

Commit 2aa0589

Browse files
committed
internal/ci: cuelang.org/go@latest now == v0.12.0
This includes changes prompted by switch to toposort. Reflect those changes here. Signed-off-by: Paul Jolly <[email protected]> Change-Id: I2236ddf513dd51d1f370449af018763d2d79783c Reviewed-on: https://review.gerrithub.io/c/cue-lang/proposal/+/1208098 TryBot-Result: CUEcueckoo <[email protected]> Reviewed-by: Daniel Martí <[email protected]>
1 parent fd77373 commit 2aa0589

File tree

4 files changed

+21
-21
lines changed

4 files changed

+21
-21
lines changed

.github/workflows/evict_caches.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ name: Evict caches
66
- cron: 0 2 * * *
77
jobs:
88
test:
9-
if: ${{github.repository == 'cue-lang/proposal'}}
10-
runs-on: ubuntu-22.04
119
defaults:
1210
run:
1311
shell: bash
12+
if: ${{github.repository == 'cue-lang/proposal'}}
13+
runs-on: ubuntu-22.04
1414
steps:
1515
- name: Checkout code
1616
uses: actions/checkout@v4
@@ -21,8 +21,8 @@ jobs:
2121
run: touch -t 202211302355 $(find * -type d)
2222
- name: Restore git file modification times
2323
uses: chetan/git-restore-mtime-action@075f9bc9d159805603419d50f794bd9f33252ebe
24-
- id: DispatchTrailer
25-
name: Try to extract Dispatch-Trailer
24+
- name: Try to extract Dispatch-Trailer
25+
id: DispatchTrailer
2626
run: |-
2727
x="$(git log -1 --pretty='%(trailers:key=Dispatch-Trailer,valueonly)')"
2828
if [[ "$x" == "" ]]
@@ -38,11 +38,11 @@ jobs:
3838
echo "value<<EOD" >> $GITHUB_OUTPUT
3939
echo "$x" >> $GITHUB_OUTPUT
4040
echo "EOD" >> $GITHUB_OUTPUT
41-
- if: |-
41+
- name: Check we don't have Dispatch-Trailer on a protected branch
42+
if: |-
4243
((github.ref == 'refs/heads/main') && (! (contains(github.event.head_commit.message, '
4344
Dispatch-Trailer: {"type":"')))) && (contains(github.event.head_commit.message, '
4445
Dispatch-Trailer: {"type":"'))
45-
name: Check we don't have Dispatch-Trailer on a protected branch
4646
run: |-
4747
echo "github.event.head_commit.message contains Dispatch-Trailer but we are on a protected branch"
4848
false

.github/workflows/push_tip_to_trybot.yaml

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
# Code generated internal/ci/ci_tool.cue; DO NOT EDIT.
22

3-
name: Push tip to trybot
4-
"on":
5-
push:
6-
branches:
7-
- main
83
concurrency: push_tip_to_trybot
94
jobs:
105
push:
6+
defaults:
7+
run:
8+
shell: bash
119
runs-on: ubuntu-22.04
10+
if: ${{github.repository == 'cue-lang/proposal'}}
1211
steps:
1312
- name: Write netrc file for cueckoo Gerrithub
1413
run: |-
@@ -44,7 +43,8 @@ jobs:
4443
echo "Giving up"
4544
exit 1
4645
fi
47-
defaults:
48-
run:
49-
shell: bash
50-
if: ${{github.repository == 'cue-lang/proposal'}}
46+
"on":
47+
push:
48+
branches:
49+
- main
50+
name: Push tip to trybot

.github/workflows/trybot.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@ name: TryBot
66
branches:
77
- ci/test
88
- main
9-
workflow_dispatch: {}
109
pull_request: {}
10+
workflow_dispatch: {}
1111
jobs:
1212
test:
13+
defaults:
14+
run:
15+
shell: bash
1316
runs-on: ubuntu-22.04
1417
if: |-
1518
(contains(github.event.head_commit.message, '
1619
Dispatch-Trailer: {"type":"trybot"')) || ! (contains(github.event.head_commit.message, '
1720
Dispatch-Trailer: {"type":"'))
18-
defaults:
19-
run:
20-
shell: bash
2121
steps:
2222
- name: Checkout code
2323
uses: actions/checkout@v4

.github/workflows/trybot_dispatch.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ name: Dispatch trybot
88
- ci/test
99
jobs:
1010
trybot:
11-
runs-on: ubuntu-22.04
12-
if: ${{ ((github.ref == 'refs/heads/ci/test') && false) || github.event.client_payload.type == 'trybot' }}
1311
defaults:
1412
run:
1513
shell: bash
14+
runs-on: ubuntu-22.04
15+
if: ${{ ((github.ref == 'refs/heads/ci/test') && false) || github.event.client_payload.type == 'trybot' }}
1616
steps:
1717
- name: Write netrc file for cueckoo Gerrithub
1818
run: |-

0 commit comments

Comments
 (0)