* Test on Go 1.18 and two most recent versions
* on push
* ci
name: test
-on:
- push:
- pull_request:
-
+on: [push]
jobs:
test:
strategy:
- 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
steps:
- name: setup Go
uses: actions/setup-go@v2
+ with:
+ go-version: '1.17'
- name: checkout
uses: actions/checkout@v2
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
+
module github.com/fsnotify/fsnotify
-go 1.13
+go 1.16
require golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c