Skip to content

Commit

Permalink
Update actions in GitHub workflows
Browse files Browse the repository at this point in the history
Update to latest versions to address deprecation warnings related to
older versions of Node.js.

Signed-off-by: thc202 <thc202@gmail.com>
  • Loading branch information
thc202 committed May 9, 2024
1 parent 42aca6b commit 422ceee
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 13 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@ jobs:
action:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v2
- uses: dessant/lock-threads@v5
with:
issue-lock-inactive-days: '90'
issue-lock-comment: 'This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.'
process-only: 'issues, prs'
issue-inactive-days: '90'
issue-comment: 'This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.'
issue-lock-reason: ''
pr-lock-inactive-days: '90'
pr-lock-comment: 'This PR has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.'
pr-inactive-days: '90'
pr-comment: 'This PR has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.'
pr-lock-reason: ''
16 changes: 8 additions & 8 deletions .github/workflows/run-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@ jobs:
- uses: actions/checkout@v4
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
-
name: Login to GitHub Container Registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
-
name: Build and push Docker image
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: docker
file: docker/Dockerfile-tests
Expand All @@ -37,10 +37,10 @@ jobs:
ghcr.io/zaproxy/zaproxy:tests
secrets: |
webswing_url=${{ secrets.WEBSWING_URL }}
outputs: "type=image,name=target,\
annotation-index.org.opencontainers.image.source=https://github.com/zaproxy/zaproxy,\
annotation-index.org.opencontainers.image.description=Docker image used for ZAP integration tests.,\
annotation-index.org.opencontainers.image.licenses=Apache-2.0"
annotations: |
index:org.opencontainers.image.source=https://github.com/zaproxy/zaproxy
index:org.opencontainers.image.description=Docker image used for ZAP integration tests.
index:org.opencontainers.image.licenses=Apache-2.0
-
name: Run install tests
run: docker run --rm -t ghcr.io/zaproxy/zaproxy:tests wrk/install_tests.sh
Expand Down

0 comments on commit 422ceee

Please sign in to comment.