Skip to content

Use Goreleaser, and publish arm64 #110

Use Goreleaser, and publish arm64

Use Goreleaser, and publish arm64 #110

Workflow file for this run

name: Security
on:
push: { branches-ignore: [production] }
schedule:
- cron: "19 7 * * 0"
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
codeql:
name: 👮‍♀️ CodeQL
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: "go"
- name: Autobuild
uses: github/codeql-action/autobuild@v1
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
gosec:
name: 👮‍♀️ GoSec
runs-on: ubuntu-latest
env:
GO111MODULE: on
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run GoSec Security Scanner
uses: securego/gosec@master
with:
args: "-severity=medium -no-fail -fmt sarif -out gosec-results.sarif ./..."
- name: Upload GoSec scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v1
with:
sarif_file: "gosec-results.sarif"