From b05ed885c4d4d162d57b5b34cf93b89f55ae3873 Mon Sep 17 00:00:00 2001 From: Ian Bishop <1296987+porjo@users.noreply.github.com> Date: Tue, 10 Oct 2023 12:04:36 +1000 Subject: [PATCH] Github actions release --- .github/workflows/gotest.yml | 21 +++++++++++++++++++++ .github/workflows/release.yml | 3 --- 2 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/gotest.yml diff --git a/.github/workflows/gotest.yml b/.github/workflows/gotest.yml new file mode 100644 index 0000000..5997c18 --- /dev/null +++ b/.github/workflows/gotest.yml @@ -0,0 +1,21 @@ +name: Go + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Setup Go ${{ matrix.go-version }} + uses: actions/setup-go@v4 + with: + go-version: '1.19' + - + name: Set up Go + uses: actions/setup-go@v4 + - + name: Go tests + run: go test -v -race ./... \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4ed94b0..8dd3662 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,9 +21,6 @@ jobs: - name: Set up Go uses: actions/setup-go@v4 - - - name: Go tests - run: go test -v -race ./... - name: Run GoReleaser uses: goreleaser/goreleaser-action@v5