Skip to content

Commit d58a610

Browse files
authored
release: v8.0.0 (#251)
2 parents 9771114 + 66ec2f6 commit d58a610

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

101 files changed

+4845
-6321
lines changed

.dockerignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
/.idea/
2-
/.github/
32
/.vscode/
43
/bin/
54
/vendor/

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# Repository maintainers
2-
* @bsrinivas8687
2+
* @ironman0x7b2

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@ A clear and concise description of what you expected to happen.
2020
If applicable, add screenshots to help explain your problem.
2121

2222
**Desktop (please complete the following information):**
23-
- OS: [e.g. iOS]
24-
- Version [e.g. 22]
23+
24+
- OS: [e.g. iOS]
25+
- Version [e.g. 22]
2526

2627
**Additional context**
2728
Add any other context about the problem here.

.github/workflows/build.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Build
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- development
8+
- master
9+
10+
jobs:
11+
go:
12+
runs-on: ubuntu-latest
13+
permissions:
14+
contents: read
15+
16+
steps:
17+
- name: Checkout repository
18+
uses: actions/checkout@v5
19+
20+
- name: Set up Go
21+
uses: actions/setup-go@v6
22+
with:
23+
go-version: '1.25'
24+
25+
- name: Go Build
26+
run: go build ./...

.github/workflows/codeql.yml

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,29 +7,34 @@ on:
77

88
jobs:
99
analyze:
10-
name: Analyze
10+
name: Analyze (${{ matrix.language }})
1111
runs-on: ubuntu-latest
12-
12+
permissions:
13+
security-events: write
14+
packages: read
15+
actions: read
16+
contents: read
1317
strategy:
1418
fail-fast: false
1519
matrix:
16-
languages:
17-
- go
20+
include:
21+
- language: actions
22+
build-mode: none
23+
- language: go
24+
build-mode: autobuild
1825

1926
steps:
2027
- name: Checkout repository
21-
uses: actions/checkout@v4
28+
uses: actions/checkout@v5
2229

2330
- name: Initialize CodeQL
24-
uses: github/codeql-action/init@v3
31+
uses: github/codeql-action/init@v4
2532
with:
26-
languages: ${{ matrix.languages }}
33+
languages: ${{ matrix.language }}
34+
build-mode: ${{ matrix.build-mode }}
2735
queries: security-extended,security-and-quality
2836

29-
- name: Autobuild
30-
uses: github/codeql-action/autobuild@v3
31-
3237
- name: Perform CodeQL Analysis
33-
uses: github/codeql-action/analyze@v3
38+
uses: github/codeql-action/analyze@v4
3439
with:
35-
category: /language:${{ matrix.languages }}
40+
category: "/language:${{matrix.language}}"

.github/workflows/docker-publish.yml

Lines changed: 28 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,34 +11,52 @@ env:
1111

1212
jobs:
1313
build:
14-
name: Build
1514
runs-on: ubuntu-latest
15+
permissions:
16+
contents: read
17+
packages: write
18+
id-token: write
1619

1720
steps:
1821
- name: Checkout repository
19-
uses: actions/checkout@v4
22+
uses: actions/checkout@v5
2023

21-
- name: Setup Docker buildx
22-
uses: docker/setup-buildx-action@v3
24+
- name: Install cosign
25+
if: github.event_name == 'release'
26+
uses: sigstore/cosign-installer@faadad0cce49287aee09b3a48701e75088a2c6ad #v4.0.0
27+
28+
- name: Set up Docker Buildx
29+
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 #v3.11.1
2330

2431
- name: Log into registry ${{ env.REGISTRY }}
25-
uses: docker/login-action@v3
32+
if: github.event_name == 'release'
33+
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef #v3.6.0
2634
with:
2735
registry: ${{ env.REGISTRY }}
28-
username: ${{ github.repository_owner }}
36+
username: ${{ github.actor }}
2937
password: ${{ secrets.GITHUB_TOKEN }}
3038

3139
- name: Extract Docker metadata
3240
id: meta
33-
uses: docker/metadata-action@v5
41+
uses: docker/metadata-action@c1e51972afc2121e065aed6d45c65596fe445f3f #v5.8.0
3442
with:
3543
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
3644

3745
- name: Build and push Docker image
38-
uses: docker/build-push-action@v5
46+
id: build-and-push
47+
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 #v6.18.0
3948
with:
4049
context: .
50+
push: ${{ github.event_name == 'release' }}
4151
labels: ${{ steps.meta.outputs.labels }}
42-
platforms: linux/amd64
43-
push: true
4452
tags: ${{ steps.meta.outputs.tags }}
53+
platforms: |
54+
linux/amd64
55+
linux/arm64
56+
57+
- name: Sign the published Docker image
58+
if: github.event_name == 'release'
59+
env:
60+
TAGS: ${{ steps.meta.outputs.tags }}
61+
DIGEST: ${{ steps.build-and-push.outputs.digest }}
62+
run: echo "${TAGS}" | xargs -I {} cosign sign --yes {}@${DIGEST}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.DS_Store*
2+
/*.snap
23
/.idea/
34
/.vscode/
45
/bin/

.golangci.yaml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
version: '2'
2+
linters:
3+
default: all
4+
disable:
5+
- cyclop
6+
- depguard
7+
- err113
8+
- exhaustruct
9+
- forcetypeassert
10+
- funlen
11+
- gocognit
12+
- ireturn
13+
- lll
14+
- mnd
15+
- nestif
16+
- nilnil
17+
- noinlineerr
18+
- nonamedreturns
19+
- varnamelen
20+
- wsl
21+
settings:
22+
gosec:
23+
excludes:
24+
- G115
25+
- G204
26+
- G404
27+
revive:
28+
rules:
29+
- name: package-comments
30+
disabled: true
31+
tagliatelle:
32+
case:
33+
rules:
34+
json: snake
35+
run:
36+
timeout: 5m

.golangci.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

CODE_OF_CONDUCT.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ include:
2323
Examples of unacceptable behavior by participants include:
2424

2525
* The use of sexualized language or imagery and unwelcome sexual attention or
26-
advances
26+
advances
2727
* Trolling, insulting/derogatory comments, and personal or political attacks
2828
* Public or private harassment
2929
* Publishing others' private information, such as a physical or electronic
30-
address, without explicit permission
30+
address, without explicit permission
3131
* Other conduct which could reasonably be considered inappropriate in a
32-
professional setting
32+
professional setting
3333

3434
## Our Responsibilities
3535

0 commit comments

Comments
 (0)