Skip to content

Commit 85700f5

Browse files
Fix OATS workflow
- Upgrade Go to 1.24. - Remove permissions from all jobs. - Avoid warning if no error logs found. - Allow manual dispatch.
1 parent 9b101f0 commit 85700f5

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/oats.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,16 @@ on:
55
branches: [ 'main*' ]
66
paths-ignore:
77
- '**.md'
8+
workflow_dispatch:
9+
# TODO Remove once fixed
10+
pull_request:
11+
branches: [ 'main*' ]
12+
13+
permissions: {}
814

915
jobs:
1016
acceptance-tests:
1117
runs-on: ubuntu-latest
12-
permissions: {}
1318

1419
steps:
1520
- name: Check out
@@ -25,13 +30,14 @@ jobs:
2530
- name: Set up Go
2631
uses: actions/setup-go@v5
2732
with:
28-
go-version: '1.22'
33+
go-version: '1.24'
2934
cache-dependency-path: oats/go.sum
3035
- name: Run acceptance tests
3136
run: ./scripts/run-oats-tests.sh
32-
- name: upload log file
37+
- name: Upload log file
3338
uses: actions/upload-artifact@v4
3439
if: failure()
3540
with:
3641
name: docker-compose.log
3742
path: oats/yaml/build/**/output.log
43+
if-no-files-found: ignore

0 commit comments

Comments
 (0)