Skip to content

Merge pull request #81 from appleboy/feat #19

Merge pull request #81 from appleboy/feat

Merge pull request #81 from appleboy/feat #19

Workflow file for this run

name: Go
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.21.x', 'stable' ]
steps:
- uses: actions/checkout@v3
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Display Go version
run: go version
- name: Format
run: go fmt . && git diff --exit-code
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...
- name: Test Integration
run: INTEGRATION=TRUE go test -v ./...