Skip to content

feat: Allow private_ attribute to apply to external_ dirs #4942

feat: Allow private_ attribute to apply to external_ dirs

feat: Allow private_ attribute to apply to external_ dirs #4942

Workflow file for this run

name: govulncheck
on:
pull_request:
branches:
- master
push:
branches:
- master
tags:
- v*
schedule:
- cron: 2 2 * * *
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
govulncheck:
runs-on: ubuntu-22.04
permissions:
contents: read
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: go-version
id: go-version
run: |
echo go-version="$(awk '/GO_VERSION:/ { print $2 }' .github/workflows/main.yml | tr -d \')" >> "${GITHUB_OUTPUT}"
- uses: ./.github/actions/setup-go
with:
go-version: ${{ steps.go-version.outputs.go-version }}
upload-cache: false
- uses: golang/govulncheck-action@032d45514ae346b1db93c04b0c90b841c370344f # v1.1.0
with:
cache: false
go-version-input: ${{ steps.go-version.outputs.go-version }}