Add liveness and readiness probe, with dedicated endpoint #968
Workflow file for this run
This file contains hidden or 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: Check x/crypto | |
| on: # yamllint disable-line rule:truthy | |
| pull_request: | |
| # default permissions as read only | |
| permissions: read-all | |
| jobs: | |
| check-x-crypto-deps: | |
| permissions: | |
| pull-requests: write | |
| runs-on: ubuntu-latest | |
| name: Check x/crypto Dependencies in Pull Request | |
| steps: | |
| - name: checkout source | |
| uses: actions/checkout@v7 | |
| with: | |
| ref: ${{ github.event.pull_request.head.ref }} | |
| repository: ${{ github.event.pull_request.head.repo.full_name }} | |
| fetch-depth: 0 | |
| - name: fetch base branch | |
| run: | | |
| git fetch https://github.com/${{ github.event.pull_request.base.repo.full_name }}.git \ | |
| +${{ github.event.pull_request.base.ref }}:refs/heads/${{ github.event.pull_request.base.ref }} | |
| - name: setup go | |
| uses: actions/setup-go@v7.0.0 | |
| with: | |
| go-version-file: go.mod | |
| cache: false | |
| - name: Search for x/crypto dependencies | |
| uses: ./.github/check-x-crypto | |
| with: | |
| base_ref: ${{ github.event.pull_request.base.ref }} | |
| head_sha: ${{ github.event.pull_request.head.sha }} |