From 8686315fc80024dd90752aa6e1c7c91c52b94d71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Mur=C3=A9?= Date: Sun, 22 Nov 2020 21:04:38 +0100 Subject: [PATCH] Update go.yml --- .github/workflows/go.yml | 35 +++++++++++++++++++++-------------- 1 file changed, 21 insertions(+), 14 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 2eebbf18a577e76bf9746302fc4bebb7928a030f..3ce22f3a0f0ef9cc926c5fdb764aa6cc4bd94145 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -7,28 +7,35 @@ on: branches: [ master ] workflow_dispatch: -jobs: +jobs: build: - + strategy: matrix: go-version: [1.13.x, 1.14.x, 1.15.x] platform: [ubuntu-latest, macos-latest, windows-latest] - + runs-on: ${{ matrix.platform }} - + steps: - - name: Set up Go ${{ matrix.node-version }} - uses: actions/setup-go@v2 - with: - go-version: ${{ matrix.go-version }} + - name: Set up Go ${{ matrix.node-version }} + uses: actions/setup-go@v2 + with: + go-version: ${{ matrix.go-version }} - - name: Check out code - uses: actions/checkout@v2 + - name: Check out code + uses: actions/checkout@v2 - - name: Build - run: make + - name: Build + run: make - - name: Test - run: make test + - name: Test + run: make test + env: + GITHUB_TEST_USER: ${{ secrets._GITHUB_TEST_USER }} + GITHUB_TOKEN_ADMIN: ${{ secrets._GITHUB_TOKEN_ADMIN }} + GITHUB_TOKEN_PRIVATE: ${{ secrets._GITHUB_TOKEN_PRIVATE }} + GITHUB_TOKEN_PUBLIC: ${{ secrets._GITHUB_TOKEN_PUBLIC }} + GITLAB_API_TOKEN: ${{ secrets.GITLAB_API_TOKEN }} + GITLAB_PROJECT_ID: ${{ secrets.GITLAB_PROJECT_ID }}