From 2d4f33225a624f16a11317773fc643adf7501665 Mon Sep 17 00:00:00 2001 From: k1LoW Date: Thu, 14 Dec 2023 09:39:48 +0900 Subject: [PATCH 1/4] Add windows-latest --- .github/workflows/release-test.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-test.yml b/.github/workflows/release-test.yml index 60902bdf..0013b0e4 100644 --- a/.github/workflows/release-test.yml +++ b/.github/workflows/release-test.yml @@ -6,6 +6,7 @@ on: - main pull_request: paths: + - .github/workflows/release-test.yml - .goreleaser/*.yml jobs: @@ -64,7 +65,10 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} windows-release-test: - runs-on: windows-2019 + strategy: + matrix: + os: [windows-2019, windows-latest] + runs-on: ${{ matrix.os }} steps: - name: Use LF run: | From 555ad3efe1da2ea095ed852a59b697602d0cb696 Mon Sep 17 00:00:00 2001 From: k1LoW Date: Thu, 14 Dec 2023 09:44:27 +0900 Subject: [PATCH 2/4] Add install test --- .github/workflows/release-test.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-test.yml b/.github/workflows/release-test.yml index 0013b0e4..402ec3ef 100644 --- a/.github/workflows/release-test.yml +++ b/.github/workflows/release-test.yml @@ -30,6 +30,10 @@ jobs: brew install goreleaser brew install sqlite3 + - name: Install + run: | + go install github.com/k1LoW/tbls@latest + - name: Release (dry-run) run: | goreleaser release --config .goreleaser/darwin.yml --clean --snapshot --skip-publish @@ -50,11 +54,15 @@ jobs: with: fetch-depth: 0 - - name: Set up Go on Ubuntu + - name: Set up Go uses: actions/setup-go@v4 with: go-version-file: go.mod + - name: Install + run: | + go install github.com/k1LoW/tbls@latest + - name: Run GoReleaser (dry-run) uses: goreleaser/goreleaser-action@v5 with: @@ -87,11 +95,15 @@ jobs: with: fetch-depth: 0 - - name: Set up Go on Windows + - name: Set up Go uses: actions/setup-go@v4 with: go-version-file: go.mod + - name: Install + run: | + go install github.com/k1LoW/tbls@latest + - name: Run GoReleaser (dry-run) uses: goreleaser/goreleaser-action@v5 with: From 3250d83e441773db2f4a4504a91b702fefcd3f95 Mon Sep 17 00:00:00 2001 From: k1LoW Date: Thu, 14 Dec 2023 10:08:54 +0900 Subject: [PATCH 3/4] bonsai --- .github/workflows/release-test.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release-test.yml b/.github/workflows/release-test.yml index 402ec3ef..797aad4d 100644 --- a/.github/workflows/release-test.yml +++ b/.github/workflows/release-test.yml @@ -33,6 +33,7 @@ jobs: - name: Install run: | go install github.com/k1LoW/tbls@latest + tbls version - name: Release (dry-run) run: | @@ -62,6 +63,7 @@ jobs: - name: Install run: | go install github.com/k1LoW/tbls@latest + tbls version - name: Run GoReleaser (dry-run) uses: goreleaser/goreleaser-action@v5 @@ -103,6 +105,7 @@ jobs: - name: Install run: | go install github.com/k1LoW/tbls@latest + tbls version - name: Run GoReleaser (dry-run) uses: goreleaser/goreleaser-action@v5 From a5d5747d6b68646dc42ebe3a6246897132355808 Mon Sep 17 00:00:00 2001 From: k1LoW Date: Thu, 14 Dec 2023 10:09:53 +0900 Subject: [PATCH 4/4] bonsai --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7a66b6de..c377aa23 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: - name: Check out source code uses: actions/checkout@v4 - - name: Set up Go on ${{ matrix.platform }} + - name: Set up Go uses: actions/setup-go@v4 with: go-version-file: go.mod @@ -72,7 +72,7 @@ jobs: name: Test strategy: matrix: - platform: [windows-2019] + platform: [windows-2019, windows-latest] runs-on: ${{ matrix.platform }} steps: - name: Use LF @@ -90,7 +90,7 @@ jobs: - name: Check out source code uses: actions/checkout@v4 - - name: Set up Go on ${{ matrix.platform }} + - name: Set up Go uses: actions/setup-go@v4 with: go-version-file: go.mod