diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..f33d9c2 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,29 @@ +name: CI + +on: + push: + branches: + - master + pull_request: + # enable manual trigger + workflow_dispatch: + +jobs: + test: + strategy: + matrix: + os: + - ubuntu-latest + - macos-latest + - windows-latest + runs-on: ${{ matrix.os }} + name: go test + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 + with: + go-version: stable + - name: + run: | + go test -v -race ./... + go run ./cmd/devd --help diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 07d9f98..0000000 --- a/.travis.yml +++ /dev/null @@ -1,22 +0,0 @@ -language: go - -go: - - 1.12.x - -matrix: - include: - - os: linux - - os: windows - - os: osx - osx_image: xcode11 - -install: - - go get -t -v ./... - - go install ./cmd/devd - -script: - - go test -v -race ./... - -notifications: - email: - - aldo@corte.si