From 9a918d41e0450045fbfbb9083233f990d1d3b152 Mon Sep 17 00:00:00 2001 From: Anna Shaleva Date: Tue, 27 Feb 2024 11:46:13 +0300 Subject: [PATCH] .github: use minimum required Go version from go.mod file For linter job only. Port https://github.com/nspcc-dev/neofs-contract/pull/389/commits/e0ec4d24cb992232935a17b59c09927cbc842444. Signed-off-by: Anna Shaleva --- .github/workflows/go.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 106b4751..572b6e73 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -18,7 +18,7 @@ jobs: steps: - uses: actions/setup-go@v4 with: - go-version: '1.19' + go-version-file: 'go.mod' - uses: actions/checkout@v3 - name: golangci-lint uses: golangci/golangci-lint-action@v3