diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 0000000..cdae6bc --- /dev/null +++ b/.github/workflows/build.yaml @@ -0,0 +1,24 @@ +name: Build + +on: + push: + pull_request: + +jobs: + + build: + + runs-on: ubuntu-24.04 + + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-go@v5 + with: + go-version: '>=1.19' + + - name: Install tests deps + run: sudo apt install nmap -y + + - name: Go test + run: go test ./... -count=1 diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 03ba112..0000000 --- a/.travis.yml +++ /dev/null @@ -1,11 +0,0 @@ -dist: bionic -language: go -go: - - 1.19.x -env: - global: - - CGO_ENABLED=0 -go_import_path: github.com/adevinta/vulcan-check-sdk -script: - - go install -v $(go list ./... | grep -v /vendor/) - - go test -short -v $(go list ./... | grep -v /vendor/)