diff options
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r-- | .github/workflows/ci.yml | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 70765f617e22..7d4defbb1a2a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,9 +13,8 @@ concurrency: cancel-in-progress: false env: - SBO_MAINTAINER_TOOLS_NAME: aclemons/sbo-maintainer-tools - # renovate: datasource=docker depName=aclemons/sbo-maintainer-tools - SBO_MAINTAINER_TOOLS_VERSION: 0.9.0-15.0@sha256:bad368eb4e28aac3076c6775b4a8ec96f564434657a4b853f9f961cdeed88404 + # renovate: datasource=docker depName=aclemons/sbo-maintainer-tools versioning=docker + SBO_MAINTAINER_TOOLS_IMAGE: aclemons/sbo-maintainer-tools:0.9.0-15.0@sha256:a857eeb783622430a77ffdc0e9be0fa7d38b4d30696f362454eb990614a5ade8 jobs: changes: @@ -25,15 +24,16 @@ jobs: outputs: matrix: ${{ steps.set-matrix.outputs.matrix }} steps: - - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 with: + show-progress: false fetch-depth: 2 ref: ${{ github.head_ref }} repository: ${{ github.event.pull_request.head.repo.full_name }} - name: Get slackbuild directories which have changes. id: changed-dirs - uses: tj-actions/changed-files@c860b5c47fa71f461da850094ef2f6e3d6514e44 # v38.1.3 + uses: tj-actions/changed-files@90a06d6ba9543371ab4df8eeca0be07ca6054959 # v42.0.2 with: base_sha: ${{ github.event.pull_request.base.sha }} dir_names: true @@ -66,24 +66,21 @@ jobs: matrix: include: ${{ fromJSON(needs.changes.outputs.matrix) }} steps: - - name: Set sbo maintainer tools docker image - run: | - printf 'DOCKER_IMAGE=%s:%s\n' "${{ env.SBO_MAINTAINER_TOOLS_NAME }}" "${{ env.SBO_MAINTAINER_TOOLS_VERSION }}" >> "$GITHUB_ENV" - - - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 with: + show-progress: false ref: ${{ github.head_ref }} repository: ${{ github.event.pull_request.head.repo.full_name }} - name: Run sbolint run: | - docker pull ${{ env.DOCKER_IMAGE }} + docker pull ${{ env.SBO_MAINTAINER_TOOLS_IMAGE }} mkfifo pipe tee sbolint-output < pipe & set +e - docker run --rm -v "$(pwd):/work" -w /work ${{ env.DOCKER_IMAGE }} sbolint "${{ matrix.dir }}" > pipe 2>&1 + docker run --rm -v "$(pwd):/work" -w /work ${{ env.SBO_MAINTAINER_TOOLS_IMAGE }} sbolint "${{ matrix.dir }}" > pipe 2>&1 sbolint_status="$?" set -e @@ -104,7 +101,7 @@ jobs: bash - name: Comment with sbolint results - uses: peter-evans/create-or-update-comment@c6c9a1a66007646a28c153e2a8580a5bad27bcfa # v3.0.2 + uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0 with: issue-number: ${{ github.event.number }} body-path: comment-output |