Skip to content

fix: handle deleted mod on virus scanning #145

fix: handle deleted mod on virus scanning

fix: handle deleted mod on virus scanning #145

Workflow file for this run

name: build
on: [push, pull_request]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Download dependencies
run: sudo apt update && sudo apt install -y build-essential libpng-dev
- name: Go Generate
run: go generate -tags tools -x ./...
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
skip-pkg-cache: true
skip-build-cache: true
args: --timeout 5m
- name: Build
run: go build -v -o api-linux-amd64 .
env:
CGO_ENABLED: 1