name: Continuous integration on: push: branches: - master jobs: build: name: ACI e2e tests runs-on: ubuntu-latest env: GO111MODULE: "on" steps: - name: Set up Go 1.14 uses: actions/setup-go@v1 with: go-version: 1.14 id: go - name: Checkout code into the Go module directory uses: actions/checkout@v2 - uses: actions/cache@v2 with: path: ~/go/pkg/mod key: go-${{ hashFiles('**/go.sum') }} - name: Build fro ACI e2e tests env: BUILD_TAGS: example,local run: make -f builder.Makefile cli - name: ACI e2e Test env: AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }} AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }} AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }} run: make e2e-aci windows-build: name: Windows Build runs-on: windows-latest env: GO111MODULE: "on" steps: - name: Set up Go 1.14 uses: actions/setup-go@v1 with: go-version: 1.14 id: go - name: Checkout code into the Go module directory uses: actions/checkout@v2 - uses: actions/cache@v2 with: path: ~/go/pkg/mod key: go-${{ hashFiles('**/go.sum') }} - name: Test env: BUILD_TAGS: example,local run: make -f builder.Makefile test - name: Build env: BUILD_TAGS: example,local run: make -f builder.Makefile cli - name: E2E Test run: make e2e-win-ci