Skip to content

Commit

Permalink
remove install of cargo-edit
Browse files Browse the repository at this point in the history
  • Loading branch information
matiasbzurovski committed Sep 25, 2024
1 parent 6799613 commit 2d11081
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,13 @@ jobs:
steps:
- uses: RDXWorks-actions/checkout@main

- name: Install cargo-edit
run: cargo install cargo-edit

- name: Verify Cargo.toml version bump
run: |
# Extract the version from Cargo.toml on the base branch
base_version=$(git show origin/${{ github.event.pull_request.base.ref }}:crates/sargon/Cargo.toml | grep '^version' | sed 's/version = "\(.*\)"/\1/')
# Extract the version from the PR branch
pr_version=$(grep '^version' creates/sargon/Cargo.toml | sed 's/version = "\(.*\)"/\1/')
pr_version=$(grep '^version' crates/sargon/Cargo.toml | sed 's/version = "\(.*\)"/\1/')
# Compare the versions
echo "Base version: $base_version"
Expand Down

0 comments on commit 2d11081

Please sign in to comment.