Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ jobs:
with:
go-version-file: 'go.mod'
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
uses: golangci/golangci-lint-action@v8
with:
version: v1.64.5
version: v2.1.6
build:
runs-on: ubuntu-latest
needs: [ "golangci" ]
needs: ["golangci"]
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
28 changes: 14 additions & 14 deletions .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,21 @@ permissions:
on:
push:
branches:
- master
- master
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: build
run: |
export PATH=${PATH}:${HOME}/bin
make github-pages
- name: deploy
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/public
cname: fabiolb.net
- uses: actions/checkout@v4
with:
submodules: true
- name: build
run: |
export PATH=${PATH}:${HOME}/bin
make github-pages
- name: deploy
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/public
cname: fabiolb.net
24 changes: 21 additions & 3 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,30 @@
# specific language governing permissions and limitations
# under the License.

version: "2"
run:
timeout: 10m
concurrency: 4
allow-parallel-runners: true
allow-serial-runners: true
linters:
disable-all: true
default: none
enable:
- asciicheck
- asciicheck
exclusions:
generated: lax
presets:
- comments
- common-false-positives
- legacy
- std-error-handling
paths:
- third_party$
- builtin$
- examples$
formatters:
exclusions:
generated: lax
paths:
- third_party$
- builtin$
- examples$