From b510e967c46e4d7c40604460f36fface3e6f366f Mon Sep 17 00:00:00 2001 From: Pratik <68642400+pratikbin@users.noreply.github.com> Date: Fri, 30 Sep 2022 09:47:42 +0200 Subject: [PATCH] bump: go version in ci --- .github/workflows/goreleaser.yaml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/goreleaser.yaml b/.github/workflows/goreleaser.yaml index 31adc6f..e6977d8 100644 --- a/.github/workflows/goreleaser.yaml +++ b/.github/workflows/goreleaser.yaml @@ -12,12 +12,11 @@ jobs: goreleaser: runs-on: ubuntu-latest steps: - - name: Checout the code - uses: actions/checkout@v2 + - uses: actions/checkout@v2 with: fetch-depth: 0 - - name: Install dependencies + - name: Install deps shell: bash run: | set -x @@ -28,12 +27,10 @@ jobs: cp $(find . -name 'upx' -type f) /usr/local/bin/upx curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b /usr/local/bin - - name: Setup the environment - uses: actions/setup-go@v2 - with: { go-version: 1.18 } + - uses: actions/setup-go@v2 + with: { go-version: 1.19 } - - name: goreleaser - uses: goreleaser/goreleaser-action@v2 + - uses: goreleaser/goreleaser-action@v2 with: version: latest args: release --rm-dist