Skip to content

Commit

Permalink
dev: bump katana (kkrt-labs#868)
Browse files Browse the repository at this point in the history
* bump katana

* downgrade toolchain

* bump toolchain

* fix lint

* remove codecov
  • Loading branch information
greged93 authored Mar 19, 2024
1 parent 981db0f commit 4dec3f6
Show file tree
Hide file tree
Showing 10 changed files with 556 additions and 544 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/kakarot_rpc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
python-version: 3.9
- name: Load cached Poetry installation
id: cached-poetry
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.local
key: poetry-${{ runner.os }}
Expand All @@ -40,7 +40,7 @@ jobs:
installer-parallel: true
- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: .venv
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/spell_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
timeout-minutes: 5

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: codespell-project/actions-codespell@v1
with:
check_filenames: true
Expand Down
21 changes: 7 additions & 14 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,16 @@ jobs:
runs-on: ubuntu-latest-16-cores
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup rust env
uses: actions-rs/toolchain@v1
with:
profile: minimal
components: llvm-tools-preview, rustfmt, clippy
override: true
toolchain: 1.75.0
toolchain: 1.76.0
- name: Retrieve cached dependencies
uses: Swatinem/rust-cache@v2
- name: Setup coverage env
uses: taiki-e/install-action@cargo-llvm-cov
# nextest setup
- uses: taiki-e/install-action@nextest
# Install Foundry
Expand All @@ -29,12 +27,12 @@ jobs:
version: nightly
# Install Python
- name: Set up Python 3.9
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Load cached Poetry installation
id: cached-poetry
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.local
key: poetry-${{ runner.os }}
Expand Down Expand Up @@ -63,21 +61,16 @@ jobs:
cargo check &&
cargo fmt --all -- --check &&
cargo clippy --workspace --all-features --all-targets -- -D warnings
- name: Generate code coverage
run: make test-coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
files: lcov.info
fail_ci_if_error: false
- name: Test code
run: make test

# Inspired by Reth CI.
# <https://github.com/paradigmxyz/reth/blob/027d50fc105fd527dca0bf56fe51b7240f119e66/.github/workflows/hive.yml>
hive-prepare:
runs-on: ubuntu-latest-16-cores
timeout-minutes: 45
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up Docker Buildx
Expand Down
4 changes: 2 additions & 2 deletions .trunk/trunk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# To learn more about the format of this file, see https://docs.trunk.io/reference/trunk-yaml
version: 0.1
cli:
version: 1.20.1
version: 1.21.0
plugins:
sources:
- id: trunk
Expand Down Expand Up @@ -31,7 +31,7 @@ lint:
- [email protected]
- [email protected]
- [email protected]
- trufflehog@3.69.0
- trufflehog@3.70.1
- [email protected]
ignore:
- linters: [ALL]
Expand Down
Loading

0 comments on commit 4dec3f6

Please sign in to comment.