diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6af945c..434fa6e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -70,7 +70,7 @@ jobs: - name: Build assets with Goreleaser uses: goreleaser/goreleaser-action@v6 with: - version: "~> v2" + version: ~> v2 args: release --clean --snapshot - name: Upload assets to nightly release @@ -89,10 +89,22 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: ${{ env.go_version }} + go-version: 1.23 + + - name: Use Exiftool + uses: woss/exiftool-action@v12.92 + if: matrix.os != 'windows-latest' + + - uses: MinoruSekine/setup-scoop@v4.0.1 + with: + apps: exiftool + if: matrix.os == 'windows-latest' + + - name: Set up gotestfmt + run: go install github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@latest - name: Run tests - run: go test ./... -race + run: go test ./... -json -v -race 2>&1 | gotestfmt -hide 'empty-packages' publish_stable: name: Release stable version