Skip to content

Update module github.com/labstack/echo/v4 to v4.11.4 #143

Update module github.com/labstack/echo/v4 to v4.11.4

Update module github.com/labstack/echo/v4 to v4.11.4 #143

Workflow file for this run

name: build
on: [pull_request]
permissions:
contents: read
jobs:
build:
permissions:
contents: read # for actions/checkout to fetch code
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Set up Go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
id: setup-go
with:
go-version-file: "go.mod"
- name: Build
run: go build -v ./...
- name: Checkout And Build
run: docker compose up -d postgres
- name: Test
run: go test -v ./...
- name: Run Trivy vulnerability scanner in repo mode
uses: aquasecurity/trivy-action@91713af97dc80187565512baba96e4364e983601 # master
with:
image-ref: ''
scan-type: 'fs'
ignore-unfixed: true
format: 'sarif'
output: 'trivy-results.sarif'
severity: 'CRITICAL'
- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@b374143c1149a9115d881581d29b8390bbcbb59c # v3.22.11
with:
sarif_file: 'trivy-results.sarif'