From 32d94c2016e309fd22f86622712bef527fb569cd Mon Sep 17 00:00:00 2001 From: "Victor H. Avelar" Date: Sun, 20 Mar 2022 09:40:03 +0100 Subject: [PATCH 1/2] Add v1.18 to actions version matrix --- .github/workflows/main.yml | 2 +- .github/workflows/release.yml | 7 +++++-- .goreleaser.yml | 1 + 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cb48c585..5a0c8c9a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -31,7 +31,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go: [1.17.x] + go: [1.17.x, 1.18.x] name: Go ${{ matrix.go }} check steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 870ccb6f..64ba1a61 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,11 +3,14 @@ name: goreleaser on: push: tags: - - '*' + - "*" jobs: goreleaser: runs-on: ubuntu-latest + strategy: + matrix: + go: [1.17.x, 1.18.x] steps: - name: Checkout uses: actions/checkout@v3 @@ -16,7 +19,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.17 + go-version: ${{ matrix.go }} - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 with: diff --git a/.goreleaser.yml b/.goreleaser.yml index c228ff4e..957d676d 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -4,6 +4,7 @@ build: skip: true changelog: sort: desc + use: github filters: exclude: - docs From 95f28ca553c14820694a87cb5de6d77d7709efc6 Mon Sep 17 00:00:00 2001 From: Victor Hugo Avelar Ossorio Date: Mon, 21 Mar 2022 11:45:56 +0100 Subject: [PATCH 2/2] Update release.yml --- .github/workflows/release.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 64ba1a61..56450107 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,9 +8,6 @@ on: jobs: goreleaser: runs-on: ubuntu-latest - strategy: - matrix: - go: [1.17.x, 1.18.x] steps: - name: Checkout uses: actions/checkout@v3 @@ -19,7 +16,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2 with: - go-version: ${{ matrix.go }} + go-version: 1.18.x - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 with: