fix(deps): update module golang.org/x/oauth2 to v0.25.0 in go.mod #555
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: Security | |
on: | |
push: | |
tags: | |
- v* | |
branches: | |
- main | |
pull_request: | |
permissions: | |
contents: read | |
jobs: | |
# ------------------------------ | |
govulncheck: | |
runs-on: ubuntu-latest | |
name: govulncheck | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.mod | |
- uses: arduino/setup-task@v2 | |
with: | |
# renovate: datasource=github-releases depName=go-task/task | |
version: 3.40.1 | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: setup | |
run: task setup | |
- name: install govulncheck | |
run: go install golang.org/x/vuln/cmd/govulncheck@latest | |
- name: run govulncheck | |
run: govulncheck ./... | |
# ------------------------------ | |
gitleaks: | |
runs-on: ubuntu-latest | |
name: gitleaks | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: gitleaks/gitleaks-action@v2 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE}} | |
if: ${{ env.GITLEAKS_LICENSE != '' }} | |
# ----------------------------- | |
grype-scan: | |
runs-on: ubuntu-latest | |
name: grype-scan | |
permissions: | |
security-events: write | |
actions: read | |
contents: read | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: anchore/scan-action@v6 | |
with: | |
path: "." | |
fail-build: true |