From 4442fe07ecde007f86e3adb06e052f637f620808 Mon Sep 17 00:00:00 2001 From: abicky Date: Thu, 31 Oct 2024 10:11:21 +0900 Subject: [PATCH] debug --- .github/workflows/main.yml | 32 +------------------------------- .goreleaser.yml | 2 ++ 2 files changed, 3 insertions(+), 31 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 096662d..4c09eed 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,41 +4,11 @@ on: pull_request: jobs: - test: - runs-on: ${{ matrix.os }} - timeout-minutes: 5 - strategy: - fail-fast: false - matrix: - os: - - ubuntu-latest - - macos-latest - - windows-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-go@v5 - with: - go-version-file: go.mod - - - run: go install go.uber.org/mock/mockgen@latest - - # `go test` uses only a high-confidence subset of go vet, so execute also `go vet` - - run: make vet - - - run: go fmt ./... && git diff --exit-code -- ':!go.sum' - - - run: make test - release: runs-on: ubuntu-latest - needs: test - if: contains(github.ref, 'tags/v') steps: - uses: actions/checkout@v4 - - name: Check the version - run: grep -qr "version = \"$(git tag --points-at HEAD | sed 's/^v//')\"" cmd - - run: git fetch --prune --unshallow - uses: actions/setup-go@v5 with: @@ -46,7 +16,7 @@ jobs: - uses: goreleaser/goreleaser-action@v6 with: version: latest - args: release --clean + args: release --snapshot --verbose env: # Use a custom token instead of GITHUB_TOKEN for the homebrew tap GITHUB_TOKEN: ${{ secrets.GORELEASER_GITHUB_TOKEN }} diff --git a/.goreleaser.yml b/.goreleaser.yml index fc5f53c..edcf8e6 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -2,6 +2,8 @@ version: 2 before: hooks: + - pwd + - ls -l /home/runner/go/pkg/mod/github.com/davecgh/go-spew@v1.1.1/ - go install github.com/Songmu/gocredits/cmd/gocredits@latest - gocredits -w . builds: