[agent] Alpine 系统增加 SSL/TLS加密 (--tls) 支持。 (#297) #234
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: Run Tests | |
on: | |
push: | |
branches: | |
- master | |
paths-ignore: | |
- ".github/workflows/codeql-analysis.yml" | |
- ".github/workflows/test-on-pr.yml" | |
- ".github/workflows/contributors.yml" | |
- ".github/workflows/sync.yml" | |
- "README.md" | |
- ".goreleaser.yml" | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
env: | |
GO111MODULE: on | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: "^1.21.3" | |
- name: Unit test | |
run: | | |
go test -v ./... | |
- name: Build test | |
run: | | |
go build cmd/dashboard/main.go | |
- name: Run Gosec Security Scanner | |
uses: securego/gosec@master | |
with: | |
args: --exclude=G104,G402 ./... |