diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 2914b8c..4bad377 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -43,7 +43,7 @@ jobs: - uses: actions/checkout@v4 - name: Install Actionlint env: - version: "1.7.1" + version: "1.7.7" run: curl -Ls "https://github.com/rhysd/actionlint/releases/download/v${{ env.version }}/actionlint_${{ env.version }}_linux_amd64.tar.gz" | sudo tar -x -z -C /usr/local/bin actionlint - name: Run Actionlint run: | @@ -65,7 +65,7 @@ jobs: - uses: actions/checkout@v4 - name: Install shfmt env: - version: "3.8.0" + version: "3.10.0" run: curl -Ls -o shfmt "https://github.com/mvdan/sh/releases/download/v${{ env.version }}/shfmt_v${{ env.version }}_linux_amd64" && chmod +x shfmt && sudo mv shfmt /usr/local/bin - name: Lint shell scripts run: shfmt -i 2 -d sh/*.sh test/*.sh @@ -76,4 +76,4 @@ jobs: steps: - uses: actions/checkout@v4 - name: Check for typos - uses: crate-ci/typos@v1.21.0 + uses: crate-ci/typos@v1.29.9 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e414f44..f7755ce 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -59,7 +59,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3.3.0 + uses: docker/setup-buildx-action@v3.9.0 with: platforms: ${{ env.platforms }} - name: Enable latest tag @@ -70,7 +70,7 @@ jobs: echo BUILD_DATE="$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> "$GITHUB_ENV" echo BUILD_REF="$(git rev-parse --short HEAD)" >> "$GITHUB_ENV" - name: Build containers for all platforms - uses: docker/build-push-action@v5.3.0 + uses: docker/build-push-action@v5.4.0 with: platforms: ${{ env.platforms }} tags: ${{ env.image }}:${{ needs.sanity_check.outputs.tag }}${{ env.LATEST }} @@ -91,12 +91,12 @@ jobs: -d '{ "ref": "refs/tags/${{ needs.sanity_check.outputs.tag }}", "sha": "${{ github.sha }}" }' | \ grep "Reference already exists" && echo "Tag already exists. Quitting." && exit 1 || exit 0 - name: Login to Docker Hub - uses: docker/login-action@v3.2.0 + uses: docker/login-action@v3.3.0 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Push to Docker hub - uses: docker/build-push-action@v5.3.0 + uses: docker/build-push-action@v5.4.0 with: platforms: ${{ env.platforms }} tags: ${{ env.image }}:${{ needs.sanity_check.outputs.tag }}${{ env.LATEST }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 81b283b..179a496 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,6 +19,6 @@ jobs: - name: Download mariadb cli run: docker pull jbergstroem/mariadb-client-alpine:latest - name: Install bash_unit - run: curl -Ls "https://github.com/pgrange/bash_unit/archive/refs/tags/v2.3.1.tar.gz" | tar -x -z --wildcards --strip-components=1 -C /usr/local/bin "*/bash_unit" + run: curl -Ls "https://github.com/pgrange/bash_unit/archive/refs/tags/v2.3.2.tar.gz" | tar -x -z --wildcards --strip-components=1 -C /usr/local/bin "*/bash_unit" - name: Run suite run: bash_unit test/*.sh