diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f9b7d3c..3aafc52 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,9 +14,12 @@ jobs: steps: - uses: actions/checkout@v4 - - run: rustup update stable && rustup default stable - - run: cargo build --verbose - - run: cargo test --verbose + - name: Set up Rust + run: rustup update stable && rustup default stable + - name: Build + run: cargo build --verbose + - name: Test + run: cargo test --verbose publish: name: Publish to crates.io @@ -24,8 +27,9 @@ jobs: runs-on: ubuntu-latest steps: - - name: Publish - - uses: actions/checkout@v4 - - run: rustup update stable && rustup default stable - - run: cargo publish --dry-run --verbose --locked --token ${{ secrets.CARGO_REGISTRY_TOKEN }} - \ No newline at end of file + - name: Checkout repository + uses: actions/checkout@v4 + - name: Set up Rust + run: rustup update stable && rustup default stable + - name: Publish to crates.io + run: cargo publish --dry-run --verbose --locked --token ${{ secrets.CARGO_REGISTRY_TOKEN }} \ No newline at end of file