From 03c9ccb277c207c57e1d1c0e22b3f921ca3bb9b3 Mon Sep 17 00:00:00 2001 From: aram price Date: Fri, 7 Oct 2022 18:59:29 +0200 Subject: [PATCH] golangci-lint action uses go version from go.mod --- .github/workflows/go.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 620283a3..5872b77d 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -6,15 +6,14 @@ jobs: lint: strategy: matrix: - go: [1.19] os: [macos-latest, ubuntu-latest] name: lint runs-on: ${{ matrix.os }} steps: + - uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: - go-version: ${{ matrix.go }} - - uses: actions/checkout@v3 + go-version-file: go.mod - uses: golangci/golangci-lint-action@v3 with: args: --enable goimports