From b86c3247f4731e64d30eedfd9dea459ecafb5cd1 Mon Sep 17 00:00:00 2001 From: Vitaly Isaev Date: Mon, 18 Dec 2023 13:44:48 +0300 Subject: [PATCH] Build project when releasing --- .github/workflows/release.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index eafc38bf..351fc4d6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,6 +17,17 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 + - name: Setup Go ${{ matrix.go-version }} + uses: actions/setup-go@v4 + with: + go-version: ${{ matrix.go-version }} + - name: Install dependencies + run: | + go get ./... + - name: Build + run: GOOS=linux go build -v -o fq-connector-go ./app + - name: Test + run: go test -v ./app/... - name: Create tag run: | git tag ${{ github.event.inputs.tag }}