Import upstream version 3.3.0+git20221029.1.af6af44
Kali Janitor
1 year, 6 months ago
0 | |
# These are supported funding model platforms
|
1 | |
|
2 | |
github: [OJ, firefart]
|
3 | |
patreon: OJReeves
|
4 | |
open_collective: gobuster
|
5 | |
ko_fi: OJReeves
|
0 | |
# To get started with Dependabot version updates, you'll need to specify which
|
1 | |
# package ecosystems to update and where the package manifests are located.
|
2 | |
# Please see the documentation for all configuration options:
|
3 | |
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
|
4 | |
|
5 | |
version: 2
|
6 | |
updates:
|
7 | |
- package-ecosystem: "gomod"
|
8 | |
directory: "/"
|
9 | |
target-branch: "dev"
|
10 | |
schedule:
|
11 | |
interval: "weekly"
|
12 | |
|
13 | |
- package-ecosystem: "github-actions"
|
14 | |
directory: "/"
|
15 | |
target-branch: "dev"
|
16 | |
schedule:
|
17 | |
# Check for updates to GitHub Actions every weekday
|
18 | |
interval: "daily"
|
0 | |
name: Go
|
1 | |
on: [push, pull_request]
|
2 | |
jobs:
|
3 | |
build:
|
4 | |
name: Build
|
5 | |
runs-on: ubuntu-latest
|
6 | |
strategy:
|
7 | |
matrix:
|
8 | |
go: ["1.18", "1.19"]
|
9 | |
steps:
|
10 | |
- name: Set up Go ${{ matrix.go }}
|
11 | |
uses: actions/setup-go@v3
|
12 | |
with:
|
13 | |
go-version: ${{ matrix.go }}
|
14 | |
|
15 | |
- name: Check out code
|
16 | |
uses: actions/[email protected]
|
17 | |
|
18 | |
- name: build cache
|
19 | |
uses: actions/cache@v3
|
20 | |
with:
|
21 | |
path: ~/go/pkg/mod
|
22 | |
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
|
23 | |
restore-keys: |
|
24 | |
${{ runner.os }}-go-
|
25 | |
|
26 | |
- name: Get dependencies
|
27 | |
run: |
|
28 | |
go get -v -t -d ./...
|
29 | |
|
30 | |
- name: Build linux
|
31 | |
run: make linux
|
32 | |
|
33 | |
- name: Build windows
|
34 | |
run: make windows
|
35 | |
|
36 | |
- name: Test
|
37 | |
run: make test
|
.github/workflows/golangci-lint.yml
less
more
0 | |
name: golangci-lint
|
1 | |
on: [push, pull_request]
|
2 | |
jobs:
|
3 | |
golangci:
|
4 | |
name: lint
|
5 | |
runs-on: ubuntu-latest
|
6 | |
steps:
|
7 | |
- uses: actions/[email protected]
|
8 | |
|
9 | |
- uses: actions/setup-go@v3
|
10 | |
with:
|
11 | |
go-version: "^1.19"
|
12 | |
|
13 | |
- name: golangci-lint
|
14 | |
uses: golangci/golangci-lint-action@v3
|
15 | |
with:
|
16 | |
version: latest
|
0 | |
name: goreleaser
|
1 | |
|
2 | |
on:
|
3 | |
push:
|
4 | |
tags:
|
5 | |
- "*"
|
6 | |
|
7 | |
permissions:
|
8 | |
contents: write
|
9 | |
|
10 | |
jobs:
|
11 | |
goreleaser:
|
12 | |
runs-on: ubuntu-latest
|
13 | |
steps:
|
14 | |
- name: Checkout
|
15 | |
uses: actions/[email protected]
|
16 | |
with:
|
17 | |
fetch-depth: 0
|
18 | |
- name: Fetch all tags
|
19 | |
run: git fetch --force --tags
|
20 | |
- name: Set up Go
|
21 | |
uses: actions/setup-go@v3
|
22 | |
with:
|
23 | |
go-version: 1.19
|
24 | |
- name: Run GoReleaser
|
25 | |
uses: goreleaser/goreleaser-action@v3
|
26 | |
with:
|
27 | |
distribution: goreleaser
|
28 | |
version: latest
|
29 | |
args: release --rm-dist
|
30 | |
env:
|
31 | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
0 | |
# Binaries for programs and plugins
|
1 | |
*.exe
|
2 | |
*.exe~
|
3 | |
*.dll
|
4 | |
*.so
|
5 | |
*.dylib
|
6 | |
|
7 | |
# Test binary, built with `go test -c`
|
8 | |
*.test
|
9 | |
|
10 | |
# Output of the go coverage tool, specifically when used with LiteIDE
|
11 | |
*.out
|
12 | |
|
13 | |
# Dependency directories (remove the comment below to include it)
|
14 | |
# vendor/
|
15 | |
|
16 | |
*.prof
|
17 | |
*.txt
|
18 | |
*.swp
|
19 | |
|
20 | |
.vscode/
|
21 | |
gobuster
|
22 | |
build
|
23 | |
|
24 | |
dist/
|
23 | 23 |
|
24 | 24 |
## 3.3
|
25 | 25 |
|
26 | |
- Support TLS client certificates / mtl
|
|
26 |
- Support TLS client certificates / mtls
|
27 | 27 |
- support loading extensions from file
|
28 | 28 |
- support fuzzing POST body, HTTP headers and basic auth
|
29 | 29 |
- new option to not canonicalize header names
|