Skip to content

Commit

Permalink
Test on Go 1.18 and two most recent versions (#411)
Browse files Browse the repository at this point in the history
* Test on Go 1.18 and two most recent versions

* on push

* ci
  • Loading branch information
nathany committed Jan 14, 2022
1 parent 0aba082 commit 83f9fe6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
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

0 comments on commit 83f9fe6

Please sign in to comment.