diff --git a/.deepsource.toml b/.deepsource.toml deleted file mode 100644 index 57ec587..0000000 --- a/.deepsource.toml +++ /dev/null @@ -1,9 +0,0 @@ -version = 1 - -[[analyzers]] -name = "go" -enabled = true - - [analyzers.meta] - import_root = "github.com/grassrootseconomics/cic-custodial" - \ No newline at end of file diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 22d5544..b17260f 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -56,45 +56,3 @@ jobs: ghcr.io/inethi/inethi-cic-chain-events/cic-chain-events:latest ghcr.io/inethi/inethi-cic-chain-events/cic-chain-events:${{ env.RELEASE_TAG }} - goreleaser: - runs-on: ubuntu-latest - container: - image: goreleaser/goreleaser-cross - environment: build - - steps: - - - name: Checkout - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - - uses: actions/cache@v3 - with: - path: | - ~/go/pkg/mod - ~/.cache/go-build - ~/Library/Caches/go-build - %LocalAppData%\go-build - key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - restore-keys: | - ${{ runner.os }}-go- - - - name: Workaround Git Security Warning - run: | - # Workaround a bug in github actions: - # https://github.com/actions/runner-images/issues/6775. - git config --global --add safe.directory "$GITHUB_WORKSPACE" - - - name: Set up Go - uses: actions/setup-go@v3 - with: - go-version: 'stable' - - - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v2 - with: - version: latest - args: release --rm-dist - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.goreleaser.yaml b/.goreleaser.yaml deleted file mode 100644 index dbb022d..0000000 --- a/.goreleaser.yaml +++ /dev/null @@ -1,21 +0,0 @@ -builds: - - id: linux-amd64 - env: - - CGO_ENABLED=1 - - CC=x86_64-linux-gnu-gcc - - CXX=x86_64-linux-gnu-g++ - goos: - - linux - goarch: - - amd64 - main: ./cmd/service - ldflags: - - -X main.build={{.ShortCommit}} -s -w - -archives: - - format: tar.gz - files: - - LICENSE - - config.toml - - queries.sql - - migrations/