diff options
Diffstat (limited to '')
-rw-r--r-- | .github/workflows/go.yml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml new file mode 100644 index 0000000..b415085 --- /dev/null +++ b/.github/workflows/go.yml @@ -0,0 +1,28 @@ +name: Go + +on: + push: + paths: + - '**.go' + - '**go.mod' + pull_request: + paths: + - '**.go' + - '**go.mod' + +jobs: + build: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, windows-latest, macos-latest] + steps: + - uses: actions/checkout@v2 + - name: Set up Go + uses: actions/setup-go@v2 + with: + go-version: 'stable' + - name: Build + run: go build -v . + - name: Test + run: go test -v .
\ No newline at end of file |