This repository has been archived by the owner on Oct 23, 2023. It is now read-only.
Use unplugin-vue-router #74
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: Gosec | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
schedule: | |
- cron: "45 11 * * 0" | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
env: | |
GO111MODULE: on | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Read Go version | |
id: go_version | |
run: echo "go_version=$(cat .go-version)" >> $GITHUB_OUTPUT | |
- name: Install Go (${{ steps.go_version.outputs.go_version }}) | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ steps.go_version.outputs.go_version }} | |
cache: true | |
- name: Install Gosec Security Scanner | |
run: go install github.com/securego/gosec/v2/cmd/gosec@latest | |
- name: Run Gosec Security Scanner | |
run: gosec -exclude-dir=dashboard -exclude-dir=hack/ -exclude-dir=internal/api/gen -exclude-dir=internal/persistence/ent/db -exclude-dir=internal/persistence/ent/db ./... |