Skip to content

Commit

Permalink
Update to golang 1.20.8
Browse files Browse the repository at this point in the history
Signed-off-by: Lionel Jouin <[email protected]>
  • Loading branch information
LionelJouin committed Sep 21, 2023
1 parent ad88a29 commit 5bef239
Show file tree
Hide file tree
Showing 12 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v1
with:
go-version: 1.20.5
go-version: 1.20.8
- name: Build
run: go build -race ./...
- name: Test
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/checkgomod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v1
with:
go-version: 1.20.5
go-version: 1.20.8
- run: go mod tidy
- name: Check for changes in go.mod or go.sum
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cmd-gogenerate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v1
with:
go-version: 1.20.5
go-version: 1.20.8
- run: go generate ./...
- name: Check for changes
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v1
with:
go-version: 1.20.5
go-version: 1.20.8
- name: Build container
run: docker build .
- name: Run tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v1
with:
go-version: 1.20.5
go-version: 1.20.8
- name: Build ${NAME}:${GITHUB_SHA::8} image
run: docker build . -t "${ORG}/${NAME}:${GITHUB_SHA::8}" --target runtime
- name: Build ${NAME}:latest image
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/golangci-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v1
with:
go-version: 1.20.5
go-version: 1.20.8
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-dependent-repositories.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
token: ${{ secrets.token }}
- uses: actions/setup-go@v1
with:
go-version: 1.20.5
go-version: 1.20.8
- name: Update ${{ matrix.repository }} locally
working-directory: networkservicemesh/${{ matrix.repository }}
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/resolve-conflicts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v1
with:
go-version: 1.20.5
go-version: 1.20.8
- name: Update version manually
run: |
branch=${{ inputs.pr_branch_ref }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sdk-gogenerate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
version: '3.8.0'
- uses: actions/setup-go@v1
with:
go-version: 1.20.5
go-version: 1.20.8
- name: Install proto-gen-go
run: go install github.com/golang/protobuf/[email protected]
- name: Install go-syncmap
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-dependent-repositories-gomod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
token: ${{ secrets.token }}
- uses: actions/setup-go@v1
with:
go-version: 1.20.5
go-version: 1.20.8
- name: Update ${{ matrix.repository }} locally
working-directory: networkservicemesh/${{ matrix.repository }}
run: |
Expand Down
10 changes: 5 additions & 5 deletions workflow-templates/cmd-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v1
with:
go-version: 1.20.5
go-version: 1.20.8
- name: Build
run: go build -race ./...

Expand All @@ -46,7 +46,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v1
with:
go-version: 1.20.5
go-version: 1.20.8
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v1
with:
go-version: 1.20.5
go-version: 1.20.8
- run: go mod tidy
- name: Check for changes
run: |
Expand All @@ -100,7 +100,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v1
with:
go-version: 1.20.5
go-version: 1.20.8
- run: go generate ./...
- name: Check for changes
run: |
Expand All @@ -125,7 +125,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v1
with:
go-version: 1.20.5
go-version: 1.20.8
- name: Build container
run: docker build .
- name: Run tests
Expand Down
2 changes: 1 addition & 1 deletion workflow-templates/docker-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v1
with:
go-version: 1.20.5
go-version: 1.20.8
- name: Build ${NAME}:${GITHUB_SHA::8} image
run: docker build . -t "${ORG}/${NAME}:${GITHUB_SHA::8}" --target runtime
- name: Build ${NAME}:latest image
Expand Down

0 comments on commit 5bef239

Please sign in to comment.