-
Notifications
You must be signed in to change notification settings - Fork 7
release 🚚 #39
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
Merged
Merged
release 🚚 #39
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
20d7b12
Minor README tweaks
cvitan 923d873
Merge pull request #30 from netboxlabs/chore/readme-tweaks
leoparente 47ff13d
small documentation updates
ltucker 22813f1
Merge pull request #31 from netboxlabs/doc_suggestions
leoparente fd6ee6c
chore: perform some lint fixes on orb-agent
leoparente 4e2602f
readme update
rboucher-me 9bada38
Merge pull request #32 from rboucher-me/develop
leoparente f9f88c5
add gofumpt
leoparente e97f0ed
Apply suggestions from code review
leoparente 4ecfd05
run fix-lint
leoparente 7051b69
Merge pull request #33 from netboxlabs/chore/lint-fixes
leoparente 946b800
chore: fix all lint issues and add lint GHA (#34)
leoparente 57023bd
chore: update golang.org/x/* (#35)
leoparente b2f3d7f
fix: remove not used otlp metrics (#38)
leoparente File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
run: | ||
timeout: 5m | ||
modules-download-mode: readonly | ||
|
||
output: | ||
formats: colored-line-number | ||
|
||
linters: | ||
enable: | ||
- revive | ||
- errcheck | ||
- unused | ||
- staticcheck | ||
- ineffassign | ||
- govet | ||
- gosimple | ||
- bodyclose | ||
- gci | ||
- gofumpt | ||
|
||
issues: | ||
exclude-use-default: false | ||
exclude-rules: | ||
- path: /*.go | ||
text: "package-comments: should have a package comment" | ||
linters: | ||
- revive | ||
|
||
severity: | ||
default-severity: error | ||
|
||
linters-settings: | ||
gci: | ||
sections: | ||
- standard | ||
- default | ||
- prefix(github.com/netboxlabs/orb-agent) | ||
custom-order: true | ||
go-fumpt: | ||
extra-rules: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Orb Agent - lint | ||
on: | ||
push: | ||
branches: | ||
- "!release" | ||
pull_request: | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
golangci: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Setup Go | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: '1.23' | ||
check-latest: true | ||
- name: Lint | ||
uses: golangci/golangci-lint-action@v3 | ||
with: | ||
version: v1.62 | ||
working-directory: . | ||
args: --config .github/golangci.yaml | ||
skip-pkg-cache: true | ||
skip-build-cache: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Check warning
Code scanning / CodeQL
Unpinned tag for a non-immutable Action in workflow Medium