Skip to content

Commit cb9eb8e

Browse files
committed
Trying to remove tar errors
1 parent 8c0a197 commit cb9eb8e

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

.github/workflows/build-and-release.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ name: Build and release
66
on:
77
push:
88
tags: ['v*.*.*']
9-
# branches: [master]
109

1110
permissions:
1211
contents: write
@@ -23,12 +22,13 @@ jobs:
2322
uses: actions/checkout@v4
2423

2524
- name: Show version
26-
run: echo "Releasing version $RELEASE_VERSION"
25+
run: echo 'Releasing version $RELEASE_VERSION'
2726

2827
- name: Set up Go
2928
uses: actions/setup-go@v4
3029
with:
31-
go-version: "1.23"
30+
go-version: '1.23.x'
31+
cache: 'go-mod'
3232

3333
- name: Run code generation
3434
run: go generate ./...
@@ -38,14 +38,15 @@ jobs:
3838

3939
build:
4040
runs-on: ubuntu-latest
41-
needs: "test"
41+
needs: 'test'
4242
steps:
4343
- uses: actions/checkout@v4
4444

4545
- name: Set up Go
4646
uses: actions/setup-go@v4
4747
with:
48-
go-version: "1.23"
48+
go-version: '1.23.x'
49+
cache: 'go-mod'
4950

5051
- name: Create bin directory
5152
run: mkdir -p bin/

.github/workflows/run-tests.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@ jobs:
1414
- name: Set up Go
1515
uses: actions/setup-go@v4
1616
with:
17-
go-version: "1.23"
17+
go-version: "1.23.x"
18+
cache: "go-mod"
19+
20+
- name: Run code generation
21+
run: go generate ./...
1822

1923
- name: Run tests
2024
run: make test

0 commit comments

Comments
 (0)