The runner containers don't trust the Cloudflare origin certificate for git.lethalbits.com, causing checkout to fail. Set GIT_SSL_NO_VERIFY and Go private module env vars at the workflow level for all workflows.
26 lines
510 B
YAML
26 lines
510 B
YAML
name: check-and-test
|
|
|
|
on:
|
|
- pull_request
|
|
|
|
env:
|
|
GIT_SSL_NO_VERIFY: true
|
|
GOPRIVATE: git.lethalbits.com/*
|
|
GONOSUMCHECK: git.lethalbits.com/*
|
|
GOINSECURE: git.lethalbits.com/*
|
|
|
|
jobs:
|
|
check-and-test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- uses: actions/setup-go@v6
|
|
with:
|
|
go-version-file: 'go.mod'
|
|
- name: lint
|
|
run: make lint
|
|
- name: build
|
|
run: make build
|
|
- name: security-check
|
|
run: make security-check
|