Skip to content

Commit

Permalink
Use go 1.15 (#267)
Browse files Browse the repository at this point in the history
  • Loading branch information
LKaemmerling authored Aug 24, 2020
1 parent ad3a564 commit be48b5e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v1
uses: actions/setup-go@v2
with:
go-version: 1.14.x
go-version: 1.15.x
- name: Print Go Version
run: go version
- name: Run GoReleaser
Expand All @@ -26,7 +26,7 @@ jobs:
key: ${{ secrets.GPG_KEY }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v2
with:
name: Upload macOS Build Artifact
path: dist/hcloud-macos-build_darwin_amd64/hcloud
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [1.14]
go-version: [1.15]
steps:
- name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@v1
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Check out code into the Go module directory
uses: actions/checkout@v1
uses: actions/checkout@v2
- name: Get dependencies
run: |
go get -u golang.org/x/lint/golint
go get -v -t -d ./...
- name: Run go fmt
run: diff -u <(echo -n) <(gofmt -d -s .)
- name: Build test version
run: ./script/build.bash linux amd64 `./script/git-version.bash`; mv dist/hcloud* cmd/hcloud/hcloud
run: ./script/build.bash linux amd64 test-build; mv dist/hcloud* cmd/hcloud/hcloud
- name: Run bats
run: |
git clone --depth 1 https://github.com/sstephenson/bats.git
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release_on_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v1
uses: actions/setup-go@v2
with:
go-version: 1.14.x
go-version: 1.15.x
- name: Print Go Version
run: go version
- name: Decrypt Secrets
Expand Down

0 comments on commit be48b5e

Please sign in to comment.