fix(SAAS-102873): upgrade go-environment 1.82 to manage override sour… #237
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: golangci-lint | |
| on: | |
| push: | |
| tags: | |
| - v* | |
| branches: | |
| - master | |
| pull_request: | |
| paths-ignore: | |
| - '*.md' | |
| permissions: | |
| contents: read | |
| pull-requests: read | |
| jobs: | |
| golangci: | |
| name: lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Configure git url | |
| run: | | |
| git config --global url.https://${{ secrets.ARGON_GH_TOKEN }}@github.com/.insteadOf https://github.com/ | |
| - name: golangci-lint | |
| uses: golangci/golangci-lint-action@v3 | |
| env: | |
| GOPRIVATE: github.com/argonsecurity/* | |
| with: | |
| args: --timeout=5m | |
| - name: Remove git url | |
| run: | | |
| git config --global url.https://github.com/.insteadOf https://${{ secrets.ARGON_GH_TOKEN }}@github.com/ |