Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b66af95

Browse files
move security audit to separate workflow (#202)
1 parent 3b43536 commit b66af95

File tree

3 files changed

+14
-5
lines changed

3 files changed

+14
-5
lines changed

‎.github/workflows/audit.yml‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: Security audit
2+
on:
3+
schedule:
4+
- cron: '0 0 * * *'
5+
6+
jobs:
7+
security_audit:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: golang/govulncheck-action@v1
11+

‎.github/workflows/ci.yml‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,7 @@ jobs:
1414
go-version: ${{ matrix.go-version }}
1515
- uses: actions/checkout@v3
1616
- run: go test ./...
17-
govulncheck:
18-
runs-on: ubuntu-latest
19-
steps:
20-
- uses: golang/govulncheck-action@v1
17+
2118
gocritic:
2219
runs-on: ubuntu-latest
2320
steps:

‎README.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
[![Go Reference](https://pkg.go.dev/badge/github.com/bitfield/script.svg)](https://pkg.go.dev/github.com/bitfield/script)
22
[![Go Report Card](https://goreportcard.com/badge/github.com/bitfield/script)](https://goreportcard.com/report/github.com/bitfield/script)
33
[![Mentioned in Awesome Go](https://awesome.re/mentioned-badge-flat.svg)](https://github.com/avelino/awesome-go)
4-
![Tests](https://github.com/bitfield/script/actions/workflows/test.yml/badge.svg)
4+
![CI](https://github.com/bitfield/script/actions/workflows/ci.yml/badge.svg)
5+
![Audit](https://github.com/bitfield/script/actions/workflows/audit.yml/badge.svg)
56

67
```go
78
import "github.com/bitfield/script"

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /