Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test on Go 1.18 and two most recent versions #411

Merged
merged 3 commits into from Jan 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
19 changes: 8 additions & 11 deletions .github/workflows/test.yml
@@ -1,8 +1,5 @@
name: test
on:
push:
pull_request:

on: [push]
jobs:
test:
strategy:
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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


2 changes: 1 addition & 1 deletion 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

Expand Down