From f2fcccdd0e7adac7d1accb833ff1f5c0ab3d54e1 Mon Sep 17 00:00:00 2001 From: omissis Date: Sun, 11 Sep 2022 15:43:44 +0200 Subject: [PATCH] fix: add missing steps to release gh-action --- .github/workflows/release.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index dcf6a42..06fd91a 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -23,6 +23,19 @@ jobs: fetch-depth: 0 - name: Fetch all tags run: git fetch --force --tags + - name: Setup Golang + uses: actions/setup-go@v3 + with: + go-version: '^1.19.0' + - name: Fix file permissions + run: sudo chmod 0700 internal/arch/file/expect/test/permissions/0700.txt + - name: golangci-lint + uses: golangci/golangci-lint-action@v3 + with: + version: v1.49.0 + args: -v --color=always --config=.rules/.golangci.yml ./... + - name: Run tests + run: go test -v ./... - name: Run GoReleaser uses: goreleaser/goreleaser-action@v3 with: