diff --git a/.github/workflows/go_tests.yml b/.github/workflows/go_tests.yml index 8ee8110ad417..6a5ab4450b1e 100644 --- a/.github/workflows/go_tests.yml +++ b/.github/workflows/go_tests.yml @@ -24,22 +24,22 @@ on: - cron: '10 2 * * *' push: branches: ['master', 'release-*'] - tags: 'v*' + tags: ['v*'] pull_request: branches: ['master', 'release-*'] - tags: 'v*' + tags: ['v*'] paths: ['sdks/go/pkg/**', 'sdks/go.mod', 'sdks/go.sum'] - # This allows a subsequently queued workflow run to interrupt previous runs concurrency: group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}' cancel-in-progress: true - jobs: build: - runs-on: ubuntu-latest + runs-on: [self-hosted, ubuntu-20.04] + name: Go Build steps: - - uses: actions/checkout@v3 + - name: Check out code + uses: actions/checkout@v3 with: fetch-depth: 2 - uses: actions/setup-go@v3 @@ -74,4 +74,4 @@ jobs: echo -e "Please address Staticcheck warnings before checking in changes\n" echo -e "Staticcheck Warnings:\n" echo -e "$RESULTS" && exit 1 - fi \ No newline at end of file + fi