From 473a005f45021d66a1a019280877c844673088e2 Mon Sep 17 00:00:00 2001 From: eikendev Date: Sun, 13 Mar 2022 21:03:29 +0100 Subject: [PATCH] Remove GoReleaser configuration The build throws an error message: '403 Resource not accessible by integration []' The documentation suggests using a PAT instead, but I would like to avoid this. --- .github/workflows/goreleaser.yml | 41 -------------------------------- .goreleaser.yml | 19 --------------- 2 files changed, 60 deletions(-) delete mode 100644 .github/workflows/goreleaser.yml delete mode 100644 .goreleaser.yml diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml deleted file mode 100644 index a4d5b70..0000000 --- a/.github/workflows/goreleaser.yml +++ /dev/null @@ -1,41 +0,0 @@ -name: GoReleaser - -on: - push: - tags: - - 'v[0-9]+.[0-9]+.[0-9]+' - -jobs: - test_build_goreleaser: - name: Test, build, and GoReleaser - runs-on: ubuntu-latest - permissions: - contents: read - steps: - - name: Checkout code - uses: actions/checkout@v2 - - - name: Export GOBIN - uses: actions/setup-go@v2 - with: - go-version: 1.16 - - - name: Install Poetry - run: curl -sSL https://install.python-poetry.org | python3 - - - - name: Install dependencies - run: make setup - - - name: Run tests - run: | - source $(poetry env info --path)/bin/activate - make test - - - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v2 - with: - distribution: goreleaser - version: latest - args: release --rm-dist - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.goreleaser.yml b/.goreleaser.yml deleted file mode 100644 index 144bdc2..0000000 --- a/.goreleaser.yml +++ /dev/null @@ -1,19 +0,0 @@ -builds: - - id: pushbits - main: ./cmd/pushbits - goos: - - linux - goarch: - - amd64 - - 386 - - arm - - arm64 - -checksum: - algorithm: sha256 - -archives: - - id: pushbits - builds: - - pushbits - format: tar.gz