chore: Bump github.com/docker/distribution from 2.8.2+incompatible to… #324
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: "CodeQL Scan" | |
on: | |
push: | |
branches: | |
- main | |
- 1.0.0* | |
pull_request: | |
branches: | |
- main | |
- 1.0.0* | |
schedule: | |
- cron: '30 1 * * 0' | |
workflow_dispatch: | |
permissions: read-all | |
jobs: | |
CodeQL-Build: | |
runs-on: ubuntu-latest | |
permissions: | |
security-events: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # tag=3.0.2 | |
- name: setup go environment | |
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0 | |
with: | |
go-version: "1.20" | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@cdcdbb579706841c47f7063dda365e292e5cad7a # tag=v2.13.4 | |
with: | |
languages: go | |
- name: Run tidy | |
run: go mod tidy | |
- name: Build CLI | |
run: make build | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@cdcdbb579706841c47f7063dda365e292e5cad7a # tag=v2.13.4 |