Skip to content

Cleanup unused graphql from generated client (#180) #397

Cleanup unused graphql from generated client (#180)

Cleanup unused graphql from generated client (#180) #397

Workflow file for this run

name: CI
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
- name: Build snapshot with GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: "~> v2"
args: build --clean --snapshot
- name: Run Gosec Security Scanner
run: |
export PATH=$PATH:$(go env GOPATH)/bin
go install github.com/securego/gosec/v2/cmd/gosec@latest
gosec -exclude-dir api -exclude-generated ./...
- name: Run Staticcheck
uses: dominikh/staticcheck-action@v1.3.1
with:
version: "2023.1.7"
install-go: false