From d6b7d2fc968de8f77264d2b77f49b2665cf83a0e Mon Sep 17 00:00:00 2001 From: Manuel Vogel Date: Wed, 11 Nov 2020 09:06:13 +0100 Subject: [PATCH] ci: adds compile --- .github/workflows/compile.yaml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/compile.yaml diff --git a/.github/workflows/compile.yaml b/.github/workflows/compile.yaml new file mode 100644 index 00000000..a2d144d5 --- /dev/null +++ b/.github/workflows/compile.yaml @@ -0,0 +1,32 @@ +--- +name: Unit Tests +on: + push: + branches: + - master + - "release/**" + pull_request: + types: ['opened', 'synchronize'] + paths: + - '**.go' + - 'vendor/**' + - '.github/workflows/**' + +env: + GO_VERSION: "1.15" + GOPROXY: https://gocenter.io,https://proxy.golang.org,direct + +jobs: + test: + runs-on: ubuntu-latest + strategy: + fail-fast: true + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-go@v2 + with: + go-version: '1.15' + - run: cat /etc/issue + - run: bash scripts/gogetcookie.sh + - run: make compile +