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

Problem: no compact storage for archive node #791

Merged
merged 6 commits into from
Jan 31, 2023
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
try to fix typecheck linter errors
  • Loading branch information
yihuang committed Jan 31, 2023
commit 642b944c57ffedbaa5368ddd78afe5bca648937c
11 changes: 10 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,27 @@ jobs:
with:
go-version: 1.18
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v18
with:
nix_path: nixpkgs=channel:nixos-22.11
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- id: changed-files
uses: tj-actions/changed-files@v34
with:
files: |
*.go
*.mod
*.sum
- run: |
nix profile install .#rocksdb
export PKG_CONFIG_PATH=$HOME/.nix-profile/lib/pkgconfig
export CGO_CFLAGS="$(pkg-config --cflags rocksdb)" CGO_LDFLAGS="$(pkg-config --libs rocksdb)"
- uses: golangci/golangci-lint-action@v3
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.50
args: --timeout 10m --build-tags rocksdb
args: --timeout 10m --build-tags rocksdb,grocksdb_clean_link
github-token: ${{ secrets.GITHUB_TOKEN }}
working-directory: ${{ matrix.package }}
# Check only if there are differences in the source code
Expand Down