diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 895b6aa..13b4a5f 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -29,6 +29,10 @@ jobs: matrix: os: [macos-12, macos-14] runs-on: ${{ matrix.os }} + env: + BASE_REL: 0.9.20240202 + BASE_SRC: + https://github.com/rdavid/shellbase/archive/refs/tags/v$REL.tar.gz steps: - uses: actions/checkout@v4 - run: | @@ -40,14 +44,12 @@ jobs: typos-cli \ vale \ yamllint - REL=0.9.20240202 - SRC=https://github.com/rdavid/shellbase/archive/refs/tags/v$REL.tar.gz - curl --location --silent $SRC | + curl --location --silent $BASE_SRC | tar \ --directory /usr/local/bin \ --extract \ --gzip \ --strip-components=2 \ - shellbase-$REL/lib/base.sh + shellbase-$BASE_REL/lib/base.sh vale sync redo -xx lint