Update suzuki-shunsuke/github-action-renovate-config-validator action to v1 #466
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test healthcheck action | |
on: | |
push: | |
pull_request: | |
branches: [main] | |
jobs: | |
test-healthcheck-success: | |
name: Verifies whether healthcheck action succeeds when it should | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Startup sample HTTP server | |
run: docker run -d -p 8080:80 nginxdemos/hello | |
- name: Verify that healthcheck succeeds | |
uses: ./github-actions/healthcheck | |
with: | |
retries: 2 | |
command: | |
"curl --fail http://localhost:8080 --output /dev/null --silent" | |
# Note: it does not seem to be possible for now to create a CI job for testing a failing | |
# healthcheck. I have tested it manually however... |