Bump github.com/labstack/echo/v5 from 5.0.4 to 5.2.1 #100
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: Pull Request - Lint | |
| on: | |
| pull_request: | |
| branches: | |
| - "main" | |
| jobs: | |
| golangci: | |
| name: Run code linter | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v6 | |
| with: | |
| submodules: recursive | |
| persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token | |
| fetch-depth: 0 # otherwise, you will fail to push refs to dest repo | |
| ref: ${{github.event.pull_request.head.sha}} | |
| - name: Setup Docker | |
| id: docker | |
| uses: ./.github/actions/docker | |
| with: | |
| REGISTRY_URL: ${{ vars.REGISTRY }} | |
| REGISTRY_USERNAME: ${{ vars.GHCR_USERNAME }} | |
| REGISTRY_PASSWORD: ${{ secrets.GHCR_TOKEN }} | |
| - name: Generate image tag | |
| id: tag | |
| uses: ./.github/actions/tag | |
| env: | |
| AUTO_GENERATED: true | |
| - name: Build binaries & run tests | |
| run: make all test | |
| env: | |
| DOCKER_TAG_BASE: ${{ steps.docker.outputs.IMAGE_REPOSITORY }} | |
| VERSION: ${{ steps.tag.outputs.PR_TAG }} | |
| COMMIT: ${{ github.sha }} | |
| BRANCH: ${{ github.ref_name }} | |
| - name: Build Docker image | |
| if: endsWith(github.actor, '[bot]') == false | |
| run: make docker-build | |
| env: | |
| DOCKER_TAG_BASE: ${{ steps.docker.outputs.IMAGE_REPOSITORY }} | |
| VERSION: pr | |
| GIT_TAG: ${{ steps.tag.outputs.PR_TAG }} | |
| DOCKER_BUILD_ARGS: --pull --push --cache-to type=inline | |
| - name: Comment on PR | |
| if: endsWith(github.actor, '[bot]') == false | |
| uses: thollander/actions-comment-pull-request@v3 | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| comment-tag: ci-report | |
| message: |- | |
| @${{ github.actor }} Image is available for testing. | |
| `docker pull ${{ steps.docker.outputs.IMAGE_REPOSITORY }}:pr${{ steps.tag.outputs.TAG }}` |