Skip to content

Commit 823f2b0

Browse files
authored
Merge pull request #3 from andrewpollock/workflow
ci: miscellaneous improvements to update_advisory
2 parents f898d4d + 0a9daf9 commit 823f2b0

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/update_advisory.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,24 +18,22 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: Set up Go
21-
uses: actions/setup-go@v3
21+
uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0
2222
with:
23-
go-version: '1.21'
23+
go-version: '1.24.1'
2424
- name: Checkout code
25-
uses: actions/checkout@v3
25+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2626
- name: Run tests
27-
run: go test ./src/... -v
27+
run: go test -v ./src/...
2828
continue-on-error: false
2929
- name: Run Go application
3030
run: |
31-
go build -o update-advisory src/main.go
32-
./update-advisory
33-
rm update-advisory
31+
go run src/main.go
3432
3533
- name: Commit changes
3634
run: |
3735
git config user.name "github-actions[bot]"
38-
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"2
36+
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
3937
git add ./advisories/V8-advisory.json
4038
git add ./src/V8-cache.json
4139
git commit -m "Update advisories/V8_advisory.json and src/V8-cache.json"

0 commit comments

Comments
 (0)