From 3bb65582906eba4ba3d26c3070f1d3afde616b8c Mon Sep 17 00:00:00 2001 From: Ewen Le Bihan Date: Sat, 13 Apr 2024 15:13:13 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Add=20a=20github=20action=20to?= =?UTF-8?q?=20build=20package?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..6c4f190 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,26 @@ +name: Build + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + build: + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v2 + + - name: Set up Go + uses: actions/setup-go@v2 + with: + go-version: 1.21.5 + + - uses: extractions/setup-just@v2 + + - name: Verify dependencies + run: go mod verify + + - name: Build CLI package + run: just build