Skip to content

Commit 62d6101

Browse files
authored
Merge pull request #283 from Templar-Protocol/feat/liquidator-intents
Liquidator redesign: liquidation, rebalancing, swap implementation and testing.
2 parents 877cdf7 + 1ebf3db commit 62d6101

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+9059
-1755
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,9 @@ jobs:
5252
uses: actions/checkout@v4
5353
- uses: ./.github/actions/rust
5454
- name: Install cargo-nextest
55-
# https://nexte.st/docs/installation/pre-built-binaries/#linux-x86_64
56-
run: curl -LsSf https://get.nexte.st/latest/linux | tar zxf - -C ${CARGO_HOME:-~/.cargo}/bin
55+
uses: taiki-e/install-action@v2
56+
with:
57+
tool: nextest
5758
- name: Install cargo-near
5859
run: curl --proto '=https' --tlsv1.2 -LsSf https://github.com/near/cargo-near/releases/download/cargo-near-v0.16.1/cargo-near-installer.sh | sh
5960
- name: Run tests
@@ -75,12 +76,9 @@ jobs:
7576
components: llvm-tools-preview
7677

7778
- name: Install tools
78-
run: |
79-
# Install cargo-llvm-cov for coverage
80-
curl -LsSf https://github.com/taiki-e/cargo-llvm-cov/releases/latest/download/cargo-llvm-cov-x86_64-unknown-linux-gnu.tar.gz | tar xzf - -C ~/.cargo/bin
81-
82-
# Install cargo-nextest for faster testing
83-
curl -LsSf https://get.nexte.st/latest/linux | tar zxf - -C ~/.cargo/bin
79+
uses: taiki-e/install-action@v2
80+
with:
81+
tool: cargo-llvm-cov,nextest
8482

8583
- name: Run tests with coverage
8684
env:

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,9 @@
1111
# OS
1212
.DS_Store
1313

14+
# Environment files
15+
.env
16+
.env.local
17+
1418
# documentation site
1519
_site/

0 commit comments

Comments
 (0)