Bump golang.org/x/oauth2 from 0.21.0 to 0.23.0 #120
Workflow file for this run
This file contains 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: PR Quality Gate | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 #Shallow Clones should be disabled for a better relevancy of analysis | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '^1.22' | |
- name: Setup GO environment | |
run: | | |
go mod download | |
- name: Lint and run unit tests | |
run: | | |
make test | |
go tool cover -func coverage.out | |
- name: SonarCloud Scan | |
uses: SonarSource/sonarcloud-github-action@master | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |
- name: Build | |
run: make build |