Skip to content

Conversation

@brycahta
Copy link
Contributor

Issue #, if available:

Description of changes

Moving golangci-lint into its own job per the updated onboarding instructions

Contribution disclaimer

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@brycahta brycahta requested a review from a team as a code owner February 17, 2022 17:26
Copy link
Contributor

@snay2 snay2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do these jobs run in order, and only after the previous jobs complete successfully? If so, it might make sense to put the linter first since it runs faster than the test suite. That would make the feedback loop quicker in the event of a failure.

@brycahta
Copy link
Contributor Author

Do these jobs run in order, and only after the previous jobs complete successfully?

No, these are concurrent (or at least requests to run are concurrent). The functionality you're describing is achieved using needs like in our release workflow:

  release:
    name: Release
    runs-on: ubuntu-20.04
    needs: [releaseLinux, releaseWindows]
    steps:
    - name: Set up Go 1.x
      uses: actions/setup-go@v2
      with:
        go-version: ${{ env.DEFAULT_GO_VERSION }}

@brycahta brycahta merged commit 540b24d into main Feb 17, 2022
@brycahta brycahta deleted the brycahta-patch-1 branch February 17, 2022 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants