1
0
Fork 0
mirror of https://github.com/vbatts/go-mtree.git synced 2025-07-16 11:30:32 +00:00

*.go: update to golangci-lint, and fix everything

install tools in the workflow actions
Also switch away from deprecated ioutil

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2023-10-23 21:45:19 -04:00
parent e7a79ae8a7
commit 42b655d8ee
Signed by: vbatts
GPG key ID: E30EFAA812C6E5ED
19 changed files with 101 additions and 78 deletions

View file

@ -1,7 +1,6 @@
package mtree
import (
"io/ioutil"
"os"
"testing"
)
@ -13,7 +12,7 @@ func TestWalk(t *testing.T) {
}
numEntries := countTypes(dh)
fh, err := ioutil.TempFile("", "walk.")
fh, err := os.CreateTemp("", "walk.")
if err != nil {
t.Fatal(err)
}