diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a20673a0..8301cb9d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,8 +1,5 @@ name: test -on: - push: - pull_request: - +on: [push] jobs: test: strategy: @@ -13,17 +10,15 @@ jobs: - macos-latest - windows-latest go: + - '1.18.0-beta1' - '1.17' - '1.16' - - '1.15' - - '1.14' - - '1.13' - - '1.12' runs-on: ${{ matrix.os }} steps: - name: setup Go uses: actions/setup-go@v2 with: + stable: 'false' go-version: ${{ matrix.go }} - name: checkout @@ -38,6 +33,8 @@ jobs: steps: - name: setup Go uses: actions/setup-go@v2 + with: + go-version: '1.17' - name: checkout uses: actions/checkout@v2 @@ -54,7 +51,7 @@ jobs: uses: golangci/golangci-lint-action@v2 continue-on-error: true with: - version: v1.41.1 - # this is here as a workaround for https://github.com/golangci/golangci-lint-action/issues/244 - skip-pkg-cache: true + version: latest + skip-go-installation: true + diff --git a/go.mod b/go.mod index 54089e48..8d1fc129 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/fsnotify/fsnotify -go 1.13 +go 1.16 require golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c