From d063346d85c99d6e925dfe3da564f090990f0cba Mon Sep 17 00:00:00 2001 From: till Date: Sun, 28 Jun 2020 18:25:28 +0200 Subject: [PATCH] Chore: add basic ci - runs goreleaser --snapshot ... to build the tool --- .github/workflows/ci.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..af564f2 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,26 @@ +name: ci + +on: + pull_request: + +jobs: + ci: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Set up Go + uses: actions/setup-go@v2 + with: + go-version: 1.14 + - name: Check config + uses: goreleaser/goreleaser-action@v2 + with: + args: check + - name: Run GoReleaser + uses: goreleaser/goreleaser-action@v2 + with: + version: latest + args: --snapshot --skip-publish --rm-dist