From 4b522995231754bd30a50e0c1bec2529dbdaa277 Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Mon, 13 Jan 2025 16:42:35 -0300 Subject: [PATCH] ensure compile-time interface checks are ok on github action. --- .github/workflows/release-cli.yml | 35 ------------------------------- .github/workflows/test.yml | 1 + 2 files changed, 1 insertion(+), 35 deletions(-) delete mode 100644 .github/workflows/release-cli.yml diff --git a/.github/workflows/release-cli.yml b/.github/workflows/release-cli.yml deleted file mode 100644 index 33eadbc..0000000 --- a/.github/workflows/release-cli.yml +++ /dev/null @@ -1,35 +0,0 @@ -name: build cli - -on: - push: - tags: - - '*' - -permissions: - contents: write - -jobs: - make-release: - runs-on: ubuntu-latest - steps: - - uses: actions/create-release@latest - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - tag_name: ${{ github.ref }} - release_name: ${{ github.ref }} - build-linux: - runs-on: ubuntu-latest - needs: - - make-release - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-go@v4 - with: - go-version-file: go.mod - - run: go build -o eventstore ./cmd/eventstore - - uses: AButler/upload-release-assets@v2.0 - with: - files: eventstore - repo-token: ${{ secrets.GITHUB_TOKEN }} - release-tag: ${{ github.ref_name }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d51696e..3773226 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,4 +15,5 @@ jobs: with: go-version-file: ./go.mod + - run: go build ./... - run: go test ./...