Compare commits
28
Commits
v0.0.3
...
a353e018de
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a353e018de | ||
|
|
2af03bdf86 | ||
|
|
064b0ada58 | ||
|
|
b62be83146 | ||
|
|
fc25920790 | ||
|
|
ef8cba1131 | ||
|
|
55da707280 | ||
|
|
2f41c9ef48
|
||
|
|
d33029cb09 | ||
|
|
2b7fa71993 | ||
|
|
0f93e0723f | ||
|
|
710eb84f8a | ||
|
|
c90ecd1247 | ||
|
|
6abde11fc5 | ||
|
|
dd39632739 | ||
|
|
f55d8afb36 | ||
|
|
89bc4c6640 | ||
|
|
f25317e79e | ||
|
|
8ab056aad0 | ||
|
|
26e03cce50 | ||
|
|
a041827a5b | ||
|
|
36a7477f42 | ||
|
|
5218833229 | ||
|
|
699a879a75 | ||
|
|
704a6c995d | ||
|
|
3676693ebb | ||
|
|
2f338c102d | ||
|
|
c2d07e9c93 |
@@ -0,0 +1,30 @@
|
||||
name: dbsetup
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- uses: actions/setup-go@v6
|
||||
with:
|
||||
go-version: 'stable'
|
||||
- name: Run tests
|
||||
run: go test -race -coverprofile=coverage.txt ./...
|
||||
|
||||
vulnerabilities:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- uses: actions/setup-go@v6
|
||||
with:
|
||||
go-version: 'stable'
|
||||
- name: Check vulnerabilities
|
||||
run: |
|
||||
go install golang.org/x/vuln/cmd/govulncheck@latest
|
||||
govulncheck ./...
|
||||
+2
-2
@@ -7,7 +7,7 @@ include:
|
||||
- project: unboundsoftware/ci-templates
|
||||
file: Pre-Commit-Go.gitlab-ci.yml
|
||||
|
||||
image: amd64/golang:1.25.4@sha256:2476911a55fb171469c5266ee3d81e180fd25592c4f74ae79488fb49578bdc96
|
||||
image: amd64/golang:1.25.5@sha256:ad03ba93327b8a6143b49373790b5d92c28067bdb814418509466122ee9c9e63
|
||||
|
||||
stages:
|
||||
- deps
|
||||
@@ -32,7 +32,7 @@ test:
|
||||
|
||||
vulnerabilities:
|
||||
stage: test
|
||||
image: amd64/golang:1.25.4@sha256:2476911a55fb171469c5266ee3d81e180fd25592c4f74ae79488fb49578bdc96
|
||||
image: amd64/golang:1.25.5@sha256:ad03ba93327b8a6143b49373790b5d92c28067bdb814418509466122ee9c9e63
|
||||
script:
|
||||
- go install golang.org/x/vuln/cmd/govulncheck@latest
|
||||
- govulncheck ./...
|
||||
|
||||
@@ -37,10 +37,10 @@ repos:
|
||||
- id: go-test
|
||||
- id: gofumpt
|
||||
- repo: https://github.com/golangci/golangci-lint
|
||||
rev: v2.6.1
|
||||
rev: v2.8.0
|
||||
hooks:
|
||||
- id: golangci-lint-full
|
||||
- repo: https://github.com/gitleaks/gitleaks
|
||||
rev: v8.29.0
|
||||
rev: v8.30.0
|
||||
hooks:
|
||||
- id: gitleaks
|
||||
|
||||
Reference in New Issue
Block a user