From 6388e0f07f441e79ac94d4352a3ba5c325ec3dc4 Mon Sep 17 00:00:00 2001 From: dadav <33197631+dadav@users.noreply.github.com> Date: Sat, 24 Feb 2024 10:58:22 +0100 Subject: [PATCH] feat: Build pipeline --- .github/workflows/build.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..aa2b211 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,32 @@ +--- +name: build + +on: + push: + branches: + - '*' + tags-ignore: + - '*' + pull_request: + types: + - opened + - reopened + +jobs: + goreleaser: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + fetch-depth: 0 + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: ^1.22 + - name: Run GoReleaser + uses: goreleaser/goreleaser-action@v4 + with: + distribution: goreleaser + version: latest + args: release --snapshot --clean