use org actions

This commit is contained in:
Mzack9999
2026-03-20 23:09:48 +01:00
parent 0dfd80add5
commit 7bd72ff7f7
3 changed files with 7 additions and 25 deletions
+1 -9
View File
@@ -21,13 +21,7 @@ jobs:
steps:
- uses: actions/checkout@v6
- uses: projectdiscovery/actions/setup/go@v1
with:
go-version-file: go.mod
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v9
with:
version: latest
args: --timeout 5m
- uses: projectdiscovery/actions/golangci-lint/v2@v1
build:
name: Test Builds
@@ -39,8 +33,6 @@ jobs:
steps:
- uses: actions/checkout@v6
- uses: projectdiscovery/actions/setup/go@v1
with:
go-version-file: go.mod
- run: go build ./...
- name: Run tests
+3 -7
View File
@@ -15,16 +15,12 @@ jobs:
with:
fetch-depth: 0
- name: "Set up Go"
uses: actions/setup-go@v6
with:
go-version-file: go.mod
- uses: projectdiscovery/actions/setup/go@v1
- name: "Create release on GitHub"
uses: goreleaser/goreleaser-action@v3
uses: projectdiscovery/actions/goreleaser@v1
with:
args: "release --clean"
version: latest
release: true
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
SLACK_WEBHOOK: "${{ secrets.RELEASE_SLACK_WEBHOOK }}"
+3 -9
View File
@@ -16,13 +16,7 @@ jobs:
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version-file: go.mod
- uses: projectdiscovery/actions/setup/go@v1
- name: release test
uses: goreleaser/goreleaser-action@v4
with:
args: "release --clean --snapshot"
version: latest
uses: projectdiscovery/actions/goreleaser@v1