mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-18 19:47:22 +02:00
core/ci: update linting (#4844)
* core/ci: update linting * re-add exportloopref * re-add gocheckcompilerdirectives * re-add stylecheck * re-add usestdlibvars * upgrade lint --------- Co-authored-by: Denis Mishin <dmishin@pomerium.com>
This commit is contained in:
parent
b66634d1e6
commit
a2fd95aae6
30 changed files with 132 additions and 214 deletions
|
@ -57,7 +57,7 @@ func TestReadFileUpTo(t *testing.T) {
|
|||
d := t.TempDir()
|
||||
input := []byte{1, 2, 3, 4, 5, 6, 7, 8, 9}
|
||||
fname := path.Join(d, "test")
|
||||
require.NoError(t, os.WriteFile(fname, input, 0600))
|
||||
require.NoError(t, os.WriteFile(fname, input, 0o600))
|
||||
|
||||
for _, tc := range []struct {
|
||||
size int
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue