From b12cdc3c28fd853000fb76aa98ba603e354ec8db Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Fri, 25 Feb 2022 08:02:50 +0100 Subject: [PATCH] ci: update golangci-lint-action to v3 --- .github/workflows/lint-soft.yml | 7 ++++++- .github/workflows/lint.yml | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint-soft.yml b/.github/workflows/lint-soft.yml index b6c06e6..65624ac 100644 --- a/.github/workflows/lint-soft.yml +++ b/.github/workflows/lint-soft.yml @@ -13,9 +13,14 @@ jobs: name: lint-soft runs-on: ubuntu-latest steps: + - name: Install Go + uses: actions/setup-go@v2 + with: + go-version: ^1 + - uses: actions/checkout@v2 - name: golangci-lint - uses: golangci/golangci-lint-action@v2 + uses: golangci/golangci-lint-action@v3 with: # Optional: golangci-lint command line arguments. args: --config .golangci-soft.yml --issues-exit-code=0 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 74f4c5c..e6b952a 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -13,9 +13,14 @@ jobs: name: lint runs-on: ubuntu-latest steps: + - name: Install Go + uses: actions/setup-go@v2 + with: + go-version: ^1 + - uses: actions/checkout@v2 - name: golangci-lint - uses: golangci/golangci-lint-action@v2 + uses: golangci/golangci-lint-action@v3 with: # Optional: golangci-lint command line arguments. #args: