From e3fab209fd11b871e634d1d6ac491c99493fc18c Mon Sep 17 00:00:00 2001 From: omissis Date: Sun, 11 Sep 2022 15:58:57 +0200 Subject: [PATCH] fix: add more missing steps to release gh-action --- .github/workflows/development.yaml | 2 +- .github/workflows/release.yaml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/development.yaml b/.github/workflows/development.yaml index 2a54791..cfc4b16 100644 --- a/.github/workflows/development.yaml +++ b/.github/workflows/development.yaml @@ -29,7 +29,7 @@ jobs: go-version: '^1.19.0' - name: Fix file permissions run: sudo chmod 0700 internal/arch/file/expect/test/permissions/0700.txt - - name: golangci-lint + - name: Lint Go files uses: golangci/golangci-lint-action@v3 with: version: v1.49.0 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 06fd91a..e67b1d9 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -23,13 +23,15 @@ jobs: fetch-depth: 0 - name: Fetch all tags run: git fetch --force --tags + - name: Setup Git Crypt + run: sudo apt-get install -y git-crypt - 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 + - name: Lint Go files uses: golangci/golangci-lint-action@v3 with: version: v1.49.0