chore: bump docker/login-action from 4.3.0 to 4.4.0 #1151
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: Tests Code Coverage | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| branches: [ main ] | |
| jobs: | |
| tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| - name: Set up Go | |
| uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0 | |
| with: | |
| go-version-file: go.mod | |
| - name: Set up limgo | |
| uses: GoTestTools/limgo-action@36fa41fcb568acfcb1552604fad3f13495ea2fc1 # v1.1.0 | |
| with: | |
| version: "v1.0.0" | |
| install-only: true | |
| - name: Run tests | |
| run: | | |
| make test | |
| - name: Gather and calculate test coverage | |
| run: | | |
| limgo -coverfile=cover.out -outfmt=md -outfile=/tmp/covcheck.md -v=4 -config=.limgo.json | |
| cat /tmp/covcheck.md >> $GITHUB_STEP_SUMMARY | |
| - name: Upload test coverage results | |
| uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 | |
| if: ${{ always() }} | |
| with: | |
| name: test-coverage-results | |
| path: /tmp/covcheck.md | |
| if-no-files-found: error |