Update project version from using go 1.21 to 1.22 #57
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
# This workflow uses actions that are not certified by GitHub. | |
# They are provided by a third-party and are governed by | |
# separate terms of service, privacy policy, and support | |
# documentation. | |
# This workflow file requires a free account on Semgrep.dev to | |
# manage rules, file ignores, notifications, and more. | |
# | |
# See https://semgrep.dev/docs | |
name: Semgrep | |
on: | |
push: | |
permissions: | |
contents: read | |
jobs: | |
semgrep: | |
permissions: | |
contents: read # for actions/checkout to fetch code | |
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results | |
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status | |
name: Scan | |
runs-on: ubuntu-latest | |
container: | |
image: returntocorp/semgrep | |
options: --user 1001 | |
steps: | |
# Checkout project source | |
- uses: actions/checkout@v3 | |
# Run the "semgrep ci" command on the command line of the docker image. | |
- run: semgrep scan --config=auto --sarif > semgrep.sarif | |
- name: Upload SARIF file for GitHub Advanced Security Dashboard | |
uses: github/codeql-action/upload-sarif@v2 | |
with: | |
sarif_file: semgrep.sarif | |
if: always() |