Skip to content
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

chore(release): update changelog and bump version to 1.0.0 #819

Merged
merged 95 commits into from
Jul 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
95 commits
Select commit Hold shift + click to select a range
069dee7
build(deps): Bump goreleaser/goreleaser-action from 4 to 5
dependabot[bot] Sep 18, 2023
40dcbc9
build(deps): Bump docker/metadata-action from 3 to 5
dependabot[bot] Sep 18, 2023
24e3a1d
build(deps): Bump docker/login-action from 2.0.0 to 3.0.0
dependabot[bot] Sep 18, 2023
ed2409a
build(deps): Bump docker/build-push-action from 4.0.0 to 5.0.0
dependabot[bot] Sep 13, 2023
f9c03f4
build(deps): Bump docker/setup-buildx-action from 2.4.1 to 3.0.0
dependabot[bot] Sep 18, 2023
89045bb
fix: log-file-path setting does not work (#691)
lklimek Oct 3, 2023
a76cb6d
build(deps): Bump styfle/cancel-workflow-action from 0.10.0 to 0.12.0…
dependabot[bot] Oct 9, 2023
a226dc9
build(deps): Bump bufbuild/buf-setup-action from 1.14.0 to 1.27.0 (#695)
dependabot[bot] Oct 9, 2023
9131db9
build(deps): Bump actions/setup-go from 3.5.0 to 5.0.0
dependabot[bot] Dec 11, 2023
c86148d
build(deps): Bump actions/stale from 7 to 9
dependabot[bot] Dec 11, 2023
0e02be3
build(deps): update golang to 1.21 (#716)
lklimek Dec 14, 2023
e32466a
Merge pull request #712 from dashpay/master
lklimek Dec 14, 2023
96de171
feat: allow delaying transactions in ResponsePrepareProposal (#717)
lklimek Dec 18, 2023
2913f54
chore(release): update changelog and bump version to 0.14.0-dev.1 (#718)
lklimek Dec 18, 2023
38cbfbc
build(deps): Bump actions/download-artifact from 3 to 4 (#720)
dependabot[bot] Dec 19, 2023
71e32bd
build(deps): Bump actions/upload-artifact from 3 to 4 (#719)
dependabot[bot] Dec 19, 2023
548add8
fix: panic in ordered_map Key() (#721)
lklimek Dec 20, 2023
975c120
build: manual docker image build platform selection (#722)
lklimek Dec 22, 2023
72406c9
build(deps): Bump bufbuild/buf-setup-action from 1.27.0 to 1.29.0 (#729)
dependabot[bot] Jan 30, 2024
2824726
build(deps): Bump styfle/cancel-workflow-action from 0.12.0 to 0.12.1…
dependabot[bot] Jan 30, 2024
86a79ac
build: fix depguard linter configuration (#730)
lklimek Jan 30, 2024
f10efa0
feat: new vote extenison type THRESHOLD_RAW (#715)
lklimek Jan 31, 2024
9fc725f
chore(release): update changelog and bump version to 0.14.0-dev.2 (#731)
lklimek Jan 31, 2024
78b3c1f
build: simplify build process (#732)
lklimek Feb 1, 2024
a8f1ae6
build: fix docker platforms for releases (#733)
lklimek Feb 1, 2024
fce9e90
fix: race condition when adding new channel to NodeInfo (#735)
lklimek Feb 9, 2024
fdbfa1f
refactor(types): remove QuorumSingsVerifier (#727)
lklimek Feb 9, 2024
520490c
chore(github): update CODEOWNERS (#736)
lklimek Feb 9, 2024
4679528
build(deps): Bump golangci/golangci-lint-action from 3.7.0 to 4.0.0 (…
dependabot[bot] Feb 20, 2024
67084ca
chore(abci)!: remove ExecTxResult.GasWanted (#740)
lklimek Feb 20, 2024
a613716
build(deps): bump go to 1.22, alpine to 3.19, mockery to 2.41.0 (#741)
lklimek Feb 20, 2024
1fd3b18
chore: regenerate mocks (#744)
lklimek Feb 29, 2024
a72347f
feat(Docker): env var ABCI changes abci option in config.toml (#742)
lklimek Feb 29, 2024
d5a1043
build(deps): Bump docker/setup-buildx-action from 3.0.0 to 3.1.0 (#746)
dependabot[bot] Mar 4, 2024
420f7a3
fix!: e2e tests are flaky due to slow app state processing (#745)
lklimek Mar 5, 2024
9749779
chore: don't use go-deadlock in clist due to performance issues (#747)
lklimek Mar 5, 2024
6156c7c
feat(abciclient): route abci requests depending on request type (#734)
lklimek Mar 5, 2024
b0b8d66
feat(proxy): add request result to prometheus stats (#743)
lklimek Mar 6, 2024
0872595
refactor(mempool): relaxed locking of mempool (#737)
lklimek Mar 6, 2024
e6ee68d
chore: fix linter warnings in v0.14-dev (#748)
lklimek Mar 6, 2024
608bc11
feat(abciclient): support timeouts in abci calls (#749)
lklimek Mar 7, 2024
688ee3e
chore(release): update changelog and bump version to 0.14.0-dev.3 (#752)
lklimek Mar 7, 2024
4f6ed1a
build(deps): Bump docker/build-push-action from 5.0.0 to 5.2.0 (#756)
dependabot[bot] Mar 11, 2024
a1497ac
build(deps): Bump bufbuild/buf-setup-action from 1.29.0 to 1.30.0 (#757)
dependabot[bot] Mar 11, 2024
66a3ca9
feat(config): allow configuration of check TX timeout for rpc and p2p…
lklimek Mar 12, 2024
66fa34f
refactor(config)!: remove deprecated config fields (#755)
lklimek Mar 12, 2024
37870a8
refactor(consensus): remove not needed commit timeout and unused Last…
lklimek Mar 12, 2024
5764ab3
feat(p2p): channel enqueue timeout and improved router cleanup (#754)
lklimek Mar 12, 2024
2c28a4f
feat(p2p): channels with limit of send and recv rate (#753)
lklimek Mar 12, 2024
bc54195
test(abciclient): add parallel grpc execution test (#758)
lklimek Mar 12, 2024
9028d25
refactor(p2p): tune channel priorities and move channel definitions t…
lklimek Mar 12, 2024
ebe4523
fix(mempool): cancel previous mempool run when starting new one (#760)
lklimek Mar 12, 2024
220c648
fix(consensus): valid/locked block incorrectly marked as not timely (…
lklimek Mar 13, 2024
c2c4ecd
refactor(mempool): use tmsync.Waker when txs are available (#761)
lklimek Mar 13, 2024
46260b8
chore: minor improvements: logging, comments, locks (#726)
lklimek Mar 13, 2024
da52026
chore(release): update changelog and version to 0.14.0-dev.4 (#763)
lklimek Mar 13, 2024
0bbc2f4
fix(types: don't log all txs in block (#764)
lklimek Mar 18, 2024
075bc7c
build(deps): Bump docker/setup-buildx-action from 3.1.0 to 3.2.0 (#765)
dependabot[bot] Mar 19, 2024
3dcf1aa
build(deps): Bump docker/login-action from 3.0.0 to 3.1.0 (#767)
dependabot[bot] Mar 19, 2024
a2d26af
build(deps): Bump docker/build-push-action from 5.2.0 to 5.3.0 (#766)
dependabot[bot] Mar 19, 2024
95ead19
test(consensus): fix flaky TestTooFarInTheFutureProposal (#768)
lklimek Mar 20, 2024
bc91645
refactor(abci)!: move Events from FinalizeBlock to ResponseProcessPro…
lklimek Mar 27, 2024
39c275a
feat(abci): proposer-based app version (#769)
lklimek Mar 27, 2024
333406b
chore(release): update changelog and bump version to 0.14.0-dev.5 (#771)
lklimek Mar 27, 2024
53ec39b
test(consensus): fix flaky TestEmitNewValidBlockEventOnCommitWithoutB…
lklimek Apr 4, 2024
e4c934f
test(statesync): fix flaky TestReactor_Backfill (#773)
lklimek Apr 4, 2024
9b897e1
fix(state): handle ValidatorSetUpdate with no validator changes (#774)
lklimek Apr 5, 2024
a7d79b2
build(deps): Bump docker/setup-buildx-action from 3.2.0 to 3.3.0 (#776)
dependabot[bot] Apr 9, 2024
6dff7b3
build(deps): Bump bufbuild/buf-setup-action from 1.30.0 to 1.30.1 (#777)
dependabot[bot] Apr 9, 2024
8383d57
feat(abciclient)!: limit concurrent gRPC connections (#775)
lklimek Apr 22, 2024
e9e3aca
chore(release): update changelog and version to 0.14.0-dev.6 (#778)
lklimek Apr 22, 2024
bcdf032
build(deps): Bump golangci/golangci-lint-action from 4.0.0 to 5.3.0 (…
dependabot[bot] May 7, 2024
645ac74
build(deps): Bump actions/setup-go from 5.0.0 to 5.0.1 (#783)
dependabot[bot] May 7, 2024
e358a1c
build(deps): Bump bufbuild/buf-setup-action from 1.30.1 to 1.31.0 (#780)
dependabot[bot] May 7, 2024
29b4ef9
fix(config): ignore abci section on seeds (#785)
lklimek May 10, 2024
d978eac
build(deps): Bump golangci/golangci-lint-action from 5.3.0 to 6.0.1 (…
dependabot[bot] May 14, 2024
79515d6
fix(types): abci valset update abci does not need a public key on rep…
lklimek May 16, 2024
37b0cdd
chore(release): update changelog and version to 0.14.0-dev.7 (#789)
lklimek May 17, 2024
50f8db6
fix(mempool)!: limit mempool gossip rate on a per-peer basis (#787)
lklimek May 20, 2024
e1239db
chore(log): add Warn log level and decrease verbosity of some logs (#…
lklimek May 20, 2024
991f9bc
chore(types): detect quorum hash mismatch when verifying commit (#791)
lklimek May 20, 2024
3fc4d5a
chore(release): update changelog and version to 0.14.0-dev.8 (#792)
lklimek May 20, 2024
a1396fd
build(deps): Bump bufbuild/buf-setup-action from 1.31.0 to 1.32.0 (#793)
dependabot[bot] May 21, 2024
8dd12fd
fix(router): router.chDesc concurrent map iteration and write in pque…
lklimek May 22, 2024
4dcb04e
build(deps): Bump bufbuild/buf-setup-action from 1.32.0 to 1.32.2 (#796)
dependabot[bot] Jun 11, 2024
243026f
build(deps): Bump docker/login-action from 3.1.0 to 3.2.0 (#797)
dependabot[bot] Jun 11, 2024
c77284a
build(deps): Bump docker/build-push-action from 5.3.0 to 5.4.0 (#799)
dependabot[bot] Jun 11, 2024
fee08fc
build(deps): Bump docker/build-push-action from 5.4.0 to 6.0.0 (#801)
dependabot[bot] Jun 24, 2024
6d372f7
build(deps): Bump bufbuild/buf-setup-action from 1.32.2 to 1.33.0 (#800)
dependabot[bot] Jun 24, 2024
48ff188
build(deps): Bump goreleaser/goreleaser-action from 5 to 6 (#798)
dependabot[bot] Jun 24, 2024
8519783
chore(release): update changelog and bump version to 1.0.0-dev.1 (#802)
lklimek Jun 24, 2024
9554ac1
fix(docker): ineffective PROXY_APP and ABCI env in entrypoint (#805)
lklimek Jun 26, 2024
9c0439d
chore(release): update changelog and version to 1.0.0-dev.2 (#806)
lklimek Jun 26, 2024
b1d9449
chore(release): update changelog and version to 1.0.0
lklimek Jul 1, 2024
3b1c081
Merge remote-tracking branch 'origin/master' into release_1.0.0
lklimek Jul 1, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
# global owners are only requested if there isn't a more specific
# codeowner specified below. For this reason, the global codeowners
# are often repeated in package-level definitions.
* @quantumexplorer @lklimek @shotonoff
* @quantumexplorer @lklimek @shumkov
2 changes: 1 addition & 1 deletion .github/actions/bls/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ runs:
steps:
- uses: actions/setup-go@v2
with:
go-version: "1.19"
go-version: "1.22"
- uses: actions/checkout@v2
with:
submodules: true
Expand Down
5 changes: 2 additions & 3 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@ updates:
directory: "/"
schedule:
interval: weekly
target-branch: "v0.35.x"
target-branch: "master"
open-pull-requests-limit: 10
reviewers:
- shotonoff
- shumkov
- lklimek
- iammadab
labels:
- dependencies
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
goos: ["linux"]
timeout-minutes: 55
steps:
- uses: actions/setup-go@v3.5.0
- uses: actions/setup-go@v5.0.1
with:
go-version: "1.19"
go-version: "1.22"
- uses: actions/checkout@v4
- uses: technote-space/get-diff-action@v6
with:
Expand Down Expand Up @@ -52,9 +52,9 @@ jobs:
needs: build
timeout-minutes: 5
steps:
- uses: actions/setup-go@v3.5.0
- uses: actions/setup-go@v5.0.1
with:
go-version: "1.19"
go-version: "1.22"
- uses: actions/checkout@v4
- uses: technote-space/get-diff-action@v6
with:
Expand All @@ -77,9 +77,9 @@ jobs:
needs: build
timeout-minutes: 5
steps:
- uses: actions/setup-go@v3.5.0
- uses: actions/setup-go@v5.0.1
with:
go-version: "1.19"
go-version: "1.22"
- uses: actions/checkout@v4
- uses: technote-space/get-diff-action@v6
with:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/check-generated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@ jobs:
check-mocks:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3.5.0
- uses: actions/setup-go@v5.0.1
with:
go-version: "1.19"
go-version: "1.22"

- uses: actions/checkout@v4

- name: "Check generated mocks"
run: |
set -euo pipefail

readonly MOCKERY=2.33.2 # N.B. no leading "v"
readonly MOCKERY=2.41.0 # N.B. no leading "v"
curl -sL "https://github.com/vektra/mockery/releases/download/v${MOCKERY}/mockery_${MOCKERY}_Linux_x86_64.tar.gz" | tar -C /usr/local/bin -xzf -
make mockery 2>/dev/null

Expand All @@ -47,9 +47,9 @@ jobs:
check-proto:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3.5.0
- uses: actions/setup-go@v5.0.1
with:
go-version: "1.19"
go-version: "1.22"

- uses: actions/checkout@v4
with:
Expand Down
25 changes: 18 additions & 7 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,24 @@ on:
type: string
description: "Docker tag"
required: false

platforms:
type: choice
description: "Image architecture to build"
default: "linux/amd64,linux/arm64"
options:
- "linux/amd64,linux/arm64"
- "linux/amd64"
- "linux/arm64"
release:
types:
- published

jobs:
build:
runs-on: ubuntu-22.04
env:
PLATFORMS: ${{ github.event_name == 'release' && 'linux/amd64,linux/arm64' || github.event.inputs.platforms }}
steps:
- uses: actions/checkout@v4

Expand All @@ -25,11 +36,11 @@ jobs:
platforms: all

- name: Set up Docker Build
uses: docker/setup-buildx-action@v2.4.1
uses: docker/setup-buildx-action@v3.3.0

- name: Login to DockerHub
if: ${{ github.event_name != 'pull_request' }}
uses: docker/login-action@v2.0.0
uses: docker/login-action@v3.2.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand All @@ -55,7 +66,7 @@ jobs:

- name: Set Docker tags and labels
id: docker_meta
uses: docker/metadata-action@v3
uses: docker/metadata-action@v5
with:
images: dashpay/tenderdash
tags: |
Expand All @@ -75,11 +86,11 @@ jobs:
# on Docker Hub, as Github caches are not available for other branches.
- name: Build and cache image with dependencies
id: docker_bls
uses: docker/build-push-action@v4.0.0
uses: docker/build-push-action@v6.0.0
with:
context: .
file: ./DOCKER/Dockerfile
platforms: linux/amd64,linux/arm64
platforms: ${{ env.PLATFORMS }}
target: base
push: false
cache-from: |
Expand All @@ -91,11 +102,11 @@ jobs:

- name: Publish to Docker Hub
id: docker_build
uses: docker/build-push-action@v4.0.0
uses: docker/build-push-action@v6.0.0
with:
context: .
file: ./DOCKER/Dockerfile
platforms: linux/amd64,linux/arm64
platforms: ${{ env.PLATFORMS }}
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.docker_meta.outputs.tags }}
labels: ${{ steps.docker_meta.outputs.labels }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
run: |
git config --global --add safe.directory "$PWD"
make build-docs
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: build-output
path: ~/output/
Expand All @@ -50,7 +50,7 @@ jobs:
contents: write
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: build-output
path: ~/output
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,18 @@ jobs:
fail-fast: true
matrix:
testnet: ["dashcore", "rotate"]
timeout-minutes: 25
timeout-minutes: 30
env:
FULLNODE_PUBKEY_KEEP: false
CGO_LDFLAGS: "-L/usr/local/lib -ldashbls -lrelic_s -lmimalloc-secure -lgmp"
CGO_CXXFLAGS: "-I/usr/local/include"
steps:
- uses: actions/setup-go@v3.5.0
- uses: actions/setup-go@v5.0.1
with:
go-version: "1.19"
go-version: "1.22"

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2.4.1
uses: docker/setup-buildx-action@v3.3.0

- uses: actions/checkout@v4
with:
Expand All @@ -54,7 +54,7 @@ jobs:
if: "github.event_name != 'pull_request' || env.GIT_DIFF != ''"

- name: Build E2E Docker image
uses: docker/build-push-action@v4.0.0
uses: docker/build-push-action@v6.0.0
with:
context: .
file: test/e2e/docker/Dockerfile
Expand All @@ -76,7 +76,7 @@ jobs:
if: ${{ failure() }}

- name: Upload ${{ matrix.testnet }} logs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.testnet }}.log
path: test/e2e/${{ matrix.testnet }}.log
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/janitor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- uses: styfle/cancel-workflow-action@0.10.0
- uses: styfle/cancel-workflow-action@0.12.1
with:
workflow_id: 1041851,1401230,2837803
access_token: ${{ github.token }}
2 changes: 1 addition & 1 deletion .github/workflows/jepsen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
run: docker exec -i jepsen-control bash -c 'source /root/.bashrc; cd /jepsen/tendermint; lein run test --nemesis ${{ github.event.inputs.nemesis }} --workload ${{ github.event.inputs.workload }} --concurrency ${{ github.event.inputs.concurrency }} --tendermint-url ${{ github.event.inputs.tendermintUrl }} --merkleeyes-url ${{ github.event.inputs.merkleeyesUrl }} --time-limit ${{ github.event.inputs.timeLimit }} ${{ github.event.inputs.dupOrSuperByzValidators }}'

- name: Archive results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: results
path: tendermint/store/latest
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ on:
pull_request:
paths:
- "**.go"
- ".golangci.yml"
- ".github/linters/*"
push:
branches:
- master
Expand All @@ -28,15 +30,16 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/setup-go@v3.5.0
- uses: actions/setup-go@v5.0.1
with:
go-version: "^1.19"
go-version: "^1.22"
- uses: technote-space/get-diff-action@v6
with:
PATTERNS: |
**/**.go
go.mod
go.sum
.golangci.yml

- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y libpcap-dev
Expand All @@ -45,12 +48,12 @@ jobs:
name: Install BLS library
if: "env.GIT_DIFF != ''"

- uses: golangci/golangci-lint-action@v3.4.0
- uses: golangci/golangci-lint-action@v6.0.1
with:
# Required: the version of golangci-lint is required and
# must be specified without patch version: we always use the
# latest patch version.
version: v1.46
version: v1.55
args: --timeout 10m
github-token: ${{ secrets.github_token }}
if: env.GIT_DIFF
2 changes: 1 addition & 1 deletion .github/workflows/proto-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- uses: bufbuild/buf-setup-action@v1.14.0
- uses: bufbuild/buf-setup-action@v1.33.0
- uses: bufbuild/buf-lint-action@v1
with:
input: "proto"
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,21 @@ jobs:
with:
fetch-depth: 0

- uses: actions/setup-go@v3.5.0
- uses: actions/setup-go@v5.0.1
with:
go-version: '1.19'
go-version: "1.22"

- name: Build
uses: goreleaser/goreleaser-action@v4
uses: goreleaser/goreleaser-action@v6
if: ${{ github.event_name == 'pull_request' }}
with:
version: latest
args: build --skip-validate # skip validate skips initial sanity checks in order to be able to fully run
args: build --skip-validate # skip validate skips initial sanity checks in order to be able to fully run

- run: echo https://github.com/tendermint/tendermint/blob/${GITHUB_REF#refs/tags/}/CHANGELOG.md#${GITHUB_REF#refs/tags/} > ../release_notes.md

- name: Release
uses: goreleaser/goreleaser-action@v4
uses: goreleaser/goreleaser-action@v6
if: startsWith(github.ref, 'refs/tags/')
with:
version: latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v7
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-pr-message: "This pull request has been automatically marked as stale because it has not had
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
matrix:
part: ["00", "01", "02", "03", "04", "05"]
steps:
- uses: actions/setup-go@v3.5.0
- uses: actions/setup-go@v5.0.1
with:
go-version: "1.19"
go-version: "1.22"
- uses: actions/checkout@v4
- uses: technote-space/get-diff-action@v6
with:
Expand Down
18 changes: 13 additions & 5 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ linters:
enable:
- asciicheck
- bodyclose
- deadcode
- depguard
# - depguard
- dogsled
- dupl
- errcheck
Expand All @@ -30,14 +29,11 @@ linters:
- nakedret
- nolintlint
- prealloc
- staticcheck
- structcheck
- stylecheck
# - typecheck
- unconvert
# - unparam
- unused
- varcheck
# - whitespace
# - wsl

Expand All @@ -53,7 +49,19 @@ linters-settings:
max-blank-identifiers: 3
golint:
min-confidence: 0
goconst:
min-len: 5
min-occurrences: 5
ignore-tests: true
maligned:
suggest-new: true
misspell:
locale: US
revive:
rules:
# https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#unused-parameter
- name: unused-parameter
severity: warning
disabled: false
arguments:
- allowRegex: "^_"
Loading
Loading