From 6da92da5f1dc6e17a667bacc2eb0d0f696a73e24 Mon Sep 17 00:00:00 2001 From: Joseph Werle Date: Mon, 13 Jun 2022 14:16:49 +0200 Subject: [PATCH] chore(.github/workflows/versions.yml): tidy --- .github/workflows/versions.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/versions.yml b/.github/workflows/versions.yml index ff186fb..c30c2c8 100644 --- a/.github/workflows/versions.yml +++ b/.github/workflows/versions.yml @@ -1,28 +1,28 @@ name: versions on: - - pull_request - - push + - pull_request + - push jobs: verify-tags: runs-on: ubuntu-latest steps: - - uses: actions/checkout + - uses: actions/checkout@v3 with: - force-depth: 0 + fetch-depth: 0 - name: Verify setup.sh for each tag run: | - for tag in "$(git tag -l"); do + for tag in $(git tag -l); do echo "Verify $tag:" - curl https://raw.githubusercontent.com/bpkg/bpkg/$tag/setup.sh | bash + curl -sLo- "https://raw.githubusercontent.com/bpkg/bpkg/$tag/setup.sh" | bash version="$(bpkg --version)" if [ "$version" != "$tag" ]; then echo "Failed to verify $tag" exit 1 fi - done + done