diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c3782825..9e392492 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 @@ -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 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5d609225..3805468d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,14 +6,14 @@ 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 @@ -21,7 +21,7 @@ jobs: - 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 diff --git a/.github/workflows/release_on_tag.yml b/.github/workflows/release_on_tag.yml index 4e2fa223..96a04c9b 100644 --- a/.github/workflows/release_on_tag.yml +++ b/.github/workflows/release_on_tag.yml @@ -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