Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: one liner ci files #25

Merged
merged 3 commits into from
Apr 11, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions .github/workflows/gosec.yml
Original file line number Diff line number Diff line change
@@ -5,7 +5,6 @@ on:
- "**.go"
- "go.*"
- ".github/workflows/**"
- "!**.md"

jobs:
gosec:
@@ -14,7 +13,4 @@ jobs:
GO111MODULE: on
steps:
- uses: actions/checkout@v3
- name: Run Gosec Security Scanner
uses: securego/gosec@master
with:
args: -tests ./...
- { uses: securego/gosec@master, with: { args: -tests ./... } }
2 changes: 1 addition & 1 deletion .github/workflows/links.yml
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ name: Links
on:
push:
paths:
- ".github/workflows/**"
- ".github/workflows/links.yml"
- "**.md"

jobs:
8 changes: 2 additions & 6 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -16,9 +16,5 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v2
with:
go-version: 1.17.x
- uses: golangci/[email protected]
with:
version: latest
- { uses: actions/setup-go@v2, with: { go-version: 1.17 } }
- { uses: golangci/[email protected], with: {version: latest } }
4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -26,9 +26,7 @@ jobs:
cp $(find . -name 'upx' -type f) /usr/local/bin/upx
curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b /usr/local/bin
- uses: actions/setup-go@v2
with:
go-version: 1.17
- { uses: actions/setup-go@v2, with: { go-version: 1.17 } }

- uses: goreleaser/goreleaser-action@v2
with: