From: Ichinose Shogo Date: Sat, 31 Jul 2021 07:13:10 +0000 (+0900) Subject: introduce GitHub Actions X-Git-Tag: v1.7.2~150 X-Git-Url: https://go.fuhry.dev/?a=commitdiff_plain;h=42e9219696d013f252e69d7f0cdea2925125edb1;p=fsnotify.git introduce GitHub Actions --- diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..26bfb94 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,29 @@ +name: test +on: + push: + pull_request: + +jobs: + test: + strategy: + fail-fast: false + matrix: + os: + - ubuntu-latest + - macos-latest + - windows-latest + go: + - '1.16' + - '1.15' + runs-on: ${{ matrix.os }} + steps: + - name: setup Go + uses: actions/setup-go@v2 + with: + go-version: ${{ matrix.go }} + - name: checkout + uses: actions/checkout@v2 + + - name: test + run: | + go test --race ./...