Skip to content

Commit

Permalink
chore(go): package relocation (#166)
Browse files Browse the repository at this point in the history
* chore(go): package relocation

* chore(go): code format

* chore(md): fix markdown links

* chore(license): update license headers

* chore(ci): disable depguard

* chore(ci): disable go cache for golangci

* chore(ci): remove depguard configuration

* chore(ci): disable golangci lint

* test(go): fix unit tests

* chore(ci): add bearer SAST

* chore(ci): update golangci lint

* chore(ci): fix golangci findings

* chore(ci): code format

* chore(ci): disable nolintlint

* chore(ci): disable revive
  • Loading branch information
Zenithar authored Jun 2, 2023
1 parent 452ea41 commit 950ccb4
Show file tree
Hide file tree
Showing 569 changed files with 2,607 additions and 9,335 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
-
name: Build Harp
run: |
go mod vendor && go build -mod=vendor -o bin/harp github.com/zntrio/harp/v2/cmd/harp
go mod vendor && go build -mod=vendor -o bin/harp zntr.io/harp/v2/cmd/harp
env:
DOCKERFILE_ONLY: 1
GOLANG_IMAGE: ${{ matrix.golang-image }}
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
permissions:
actions: write
runs-on: ubuntu-latest
needs: [golangci-lint, go-mod]
needs: [go-mod, golangci-lint]
steps:
-
uses: step-security/harden-runner@128a63446a954579617e875aaab7d2978154e969
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:
-
name: Build Harp
run: |
go mod vendor && go build -mod=vendor -o bin/harp github.com/zntrio/harp/v2/cmd/harp
go mod vendor && go build -mod=vendor -o bin/harp zntr.io/harp/v2/cmd/harp
# Run golangci-lint
golangci-lint:
Expand Down Expand Up @@ -158,7 +158,9 @@ jobs:
name: Lint code
uses: golangci/golangci-lint-action@08e2f20817b15149a52b5b3ebe7de50aff2ba8c5 # v3.4.0
with:
version: latest
version: v1.53.1
working-directory: .
only-new-issues: false
args: --timeout=10m

tests-on-linux:
Expand Down
Loading

0 comments on commit 950ccb4

Please sign in to comment.