diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9933fa9aa7..f8099ed22e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,7 +4,7 @@ on: - pull_request env: - GO_VERSION: "1.20.x" + GO_VERSION: "1.21.x" GOTESTSUM_VERSION: "latest" jobs: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 734e0e3784..7c346fa8f5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,7 +5,7 @@ on: - 'v*' env: - GO_VERSION: "1.18.x" + GO_VERSION: "1.21.x" jobs: build: diff --git a/ext4/tar2ext4/tar2ext4.go b/ext4/tar2ext4/tar2ext4.go index 14ff66eee6..b319096073 100644 --- a/ext4/tar2ext4/tar2ext4.go +++ b/ext4/tar2ext4/tar2ext4.go @@ -1,4 +1,4 @@ -package tar2ext4 +:package tar2ext4 import ( "archive/tar" @@ -148,7 +148,7 @@ func ConvertTarToExt4(r io.Reader, w io.ReadWriteSeeker, options ...Option) erro var typ uint16 switch hdr.Typeflag { - case tar.TypeReg, tar.TypeRegA: + case tar.TypeReg: typ = compactext4.S_IFREG case tar.TypeSymlink: typ = compactext4.S_IFLNK