Skip to content

Commit

Permalink
chore: Install kurtosis using mise (#171)
Browse files Browse the repository at this point in the history
*Description*

`kurtosis` can be installed using `mise` which simplifies things on the
CI & makes life easier for devs
  • Loading branch information
janjakubnanista authored Feb 12, 2025
1 parent 1b19938 commit 3bbed7d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/per-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,8 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Setup Kurtosis
run: |
echo "deb [trusted=yes] https://apt.fury.io/kurtosis-tech/ /" | sudo tee /etc/apt/sources.list.d/kurtosis.list
sudo apt update
sudo apt install kurtosis-cli
kurtosis analytics disable
- name: Install mise
uses: jdx/mise-action@v2

- name: Run Starlark
run: kurtosis run ${{ github.workspace }} --args-file ${{ matrix.file_name }} --verbosity detailed
Expand All @@ -36,12 +32,8 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Setup Kurtosis
run: |
echo "deb [trusted=yes] https://apt.fury.io/kurtosis-tech/ /" | sudo tee /etc/apt/sources.list.d/kurtosis.list
sudo apt update
sudo apt install kurtosis-cli
kurtosis analytics disable
- name: Install mise
uses: jdx/mise-action@v2

- name: Kurtosis Lint
run: kurtosis lint ${{ github.workspace }}
Expand Down
3 changes: 2 additions & 1 deletion mise.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[tools]

# Core dependencies
"ubi:ethereum-optimism/kurtosis-test" = "0.0.1"
"ubi:ethereum-optimism/kurtosis-test" = "0.0.1"
"ubi:kurtosis-tech/kurtosis-cli-release-artifacts[exe=kurtosis]" = "1.4.4"

0 comments on commit 3bbed7d

Please sign in to comment.