Skip to content

Commit

Permalink
Fix linting (#11)
Browse files Browse the repository at this point in the history
* Upgrade setup-go action

* Update go in go.mod

* Set go-version explicitly
  • Loading branch information
malston committed Oct 18, 2023
1 parent 9c3d965 commit c2f41f1
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
go-version: 1.20.5
go-version: '1.20'
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Build
Expand All @@ -32,9 +32,9 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Set up Go 1.x
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
go-version: 1.20.5
go-version: '1.20'
- name: Install Ginkgo
run: go install -mod=mod github.com/onsi/ginkgo/ginkgo
shell: bash
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: 1.20.5
go-version: '1.20'
cache: false
env:
GO111MODULE: off
Expand All @@ -37,7 +37,7 @@ jobs:
# working-directory: somedir

# Optional: golangci-lint command line arguments.
# args: --issues-exit-code=0
args: --timeout=1m30s

# Optional: show only new issues if it's a pull request. The default value is `false`.
# only-new-issues: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
go-version: 1.20.5
go-version: '1.20'
id: go
- name: Checkout code
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/vmware-tanzu/service-instance-migrator-for-cloud-foundry

go 1.19
go 1.20

require (
code.cloudfoundry.org/credhub-cli v0.0.0-20231016130351-b222b8e0beb7
Expand Down

0 comments on commit c2f41f1

Please sign in to comment.