diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 761a874..43f6ce2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2.1.4 with: - go-version: 1.16 + go-version: ^1.17 id: go # Check the codebase has been formatted by `gofmt`. # We run two `gofmt` commands for different purposes: @@ -38,7 +38,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2.1.4 with: - go-version: 1.16 + go-version: ^1.17 id: go - name: Install fuse run: sudo apt-get update && sudo apt-get install -y fuse3 libfuse-dev @@ -56,7 +56,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2.1.4 with: - go-version: 1.16 + go-version: ^1.17 id: go - name: Install macfuse run: HOMEBREW_NO_AUTO_UPDATE=1 brew install macfuse diff --git a/samples/memfs/memfs_go18_test.go b/samples/memfs/memfs_go18_test.go index b8d1516..54c6782 100644 --- a/samples/memfs/memfs_go18_test.go +++ b/samples/memfs/memfs_go18_test.go @@ -1,3 +1,4 @@ +//go:build go1.8 // +build go1.8 package memfs_test diff --git a/samples/memfs/memfs_others_test.go b/samples/memfs/memfs_others_test.go index 88f0ed3..3cba40a 100644 --- a/samples/memfs/memfs_others_test.go +++ b/samples/memfs/memfs_others_test.go @@ -1,3 +1,4 @@ +//go:build !go1.8 // +build !go1.8 package memfs_test diff --git a/unmount_std.go b/unmount_std.go index c885355..9b350a1 100644 --- a/unmount_std.go +++ b/unmount_std.go @@ -1,3 +1,4 @@ +//go:build !linux // +build !linux package fuse