mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-23 15:40:07 -06:00
Hardcode golangci-lint revision to fix build on main (#1759)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
This commit is contained in:
parent
fa18e32e12
commit
edc654c1de
3
.github/workflows/checks.yml
vendored
3
.github/workflows/checks.yml
vendored
@ -213,7 +213,8 @@ jobs:
|
||||
uses: golangci/golangci-lint-action@v6
|
||||
with:
|
||||
version: v1.58
|
||||
only-new-issues: true
|
||||
# Only compare with changes from when we introduced linting. Eventually we can get rid of this and lint the whole project
|
||||
args: --new-from-rev dd5f9afe8948186c76fe6b8b1193d7a8f46919d8
|
||||
|
||||
- name: "Copyright headers"
|
||||
run: |
|
||||
|
@ -17,7 +17,7 @@ import (
|
||||
|
||||
// This exercises most of the logic in StaticEvaluator and staticScopeData
|
||||
//
|
||||
//nolint:gocognit,cyclop // it's a test
|
||||
//nolint:cyclop // it's a test
|
||||
func TestStaticEvaluator_Evaluate(t *testing.T) {
|
||||
// Synthetic file for building test components
|
||||
testData := `
|
||||
|
@ -320,7 +320,6 @@ func TestEvaluateForEachExpression_multi_errors(t *testing.T) {
|
||||
t.Errorf("wrong result from tfdiags.DiagnosticCausedBySensitive\ngot: %#v\nwant: %#v", got, want)
|
||||
}
|
||||
}
|
||||
|
||||
})
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user