From 2abff8a79091013b75a80fb24411001d446bb26f Mon Sep 17 00:00:00 2001 From: Dirk Klimpel <5740567+dklimpel@users.noreply.github.com> Date: Sat, 11 May 2024 18:48:27 +0200 Subject: [PATCH] use go version from go.mod --- .github/workflows/golangci-lint.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/golangci-lint.yaml b/.github/workflows/golangci-lint.yaml index d8f0de8e8..f9fdae3c3 100644 --- a/.github/workflows/golangci-lint.yaml +++ b/.github/workflows/golangci-lint.yaml @@ -1,4 +1,4 @@ -name: golangci-lint +name: Golang ci on: # don't build any branch other than master (and prs) when git pushed pull_request: {} @@ -10,7 +10,6 @@ jobs: golangci: strategy: matrix: - go: ['1.21'] os: [ubuntu-latest, macos-latest] name: lint runs-on: ${{ matrix.os }} @@ -18,7 +17,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: ${{ matrix.go }} + go-version-file: go.mod - name: golangci-lint uses: golangci/golangci-lint-action@v5 with: