From 0359e79adb31764349ef6618a09e13cfedcf28b6 Mon Sep 17 00:00:00 2001 From: Daniel Gonzalez Date: Sun, 16 Jan 2022 20:27:56 +0100 Subject: [PATCH 1/2] Add github action for go test Signed-off-by: Daniel Gonzalez --- .github/workflows/go.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/go.yml diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml new file mode 100644 index 000000000..c8e131e65 --- /dev/null +++ b/.github/workflows/go.yml @@ -0,0 +1,24 @@ +name: Go + +on: + push: + branches: [master] + pull_request: + branches: [master] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Set up Go + uses: actions/setup-go@v2 + with: + go-version: 1.15 + + - name: Build + run: go build -v ./... + + - name: Test + run: go test -v ./... From 06d997e5f1f214c4e3bb6311b8ecaf89344ca682 Mon Sep 17 00:00:00 2001 From: Daniel Gonzalez Date: Sun, 16 Jan 2022 20:28:28 +0100 Subject: [PATCH 2/2] Remove non-working travis config Signed-off-by: Daniel Gonzalez --- .travis.yml | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 0394fd656..000000000 --- a/.travis.yml +++ /dev/null @@ -1,5 +0,0 @@ -language: go -dist: xenial -go_import_path: kubevirt.io/cloud-provider-kubevirt -go: -- 1.15.x