diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 62d78a8..0750a57 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -11,18 +11,14 @@ jobs: runs-on: ubuntu-latest steps: - - name: Set up Go 1.14.x - uses: actions/setup-go@v2 + - name: Set up Go 1.18.x + uses: actions/setup-go@v3 with: - go-version: '^1.14.1' + go-version: '1.18.x' id: go - name: Check out code into the Go module directory - uses: actions/checkout@v2 - - - name: Get dependencies - run: | - go get -v -t -d ./... + uses: actions/checkout@v3 - name: Build run: go build -v ./... diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9ff2ef5..417bf99 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,23 +11,19 @@ jobs: runs-on: ubuntu-latest steps: - - name: Set up Go 1.14.x - uses: actions/setup-go@v2 + - name: Set up Go 1.18.x + uses: actions/setup-go@v3 with: - go-version: '^1.14.1' + go-version: '1.18.x' id: go - name: Check out code into the Go module directory - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 - - name: Get dependencies - run: | - go get -v -t -d ./... - - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v2 + uses: goreleaser/goreleaser-action@v3 with: version: latest args: release --rm-dist diff --git a/.goreleaser.yml b/.goreleaser.yml index 7968f2c..90859d2 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -15,6 +15,7 @@ builds: - darwin goarch: - amd64 + - arm64 checksum: name_template: 'checksums.txt' snapshot: