Adding License, Contributions and Issues to readme (#105) #19
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: ci | |
| on: | |
| workflow_dispatch: | |
| workflow_call: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| paths: | |
| - '.github/workflows/ci.yml' | |
| - '**/*.go' | |
| - 'test/**' | |
| - 'makefile' | |
| - 'go.mod' | |
| - 'go.sum' | |
| - '!**/*.md' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| build-and-verify: | |
| uses: Open-CMSIS-Pack/workflows-and-actions-collection/.github/workflows/[email protected] | |
| secrets: | |
| QLTY_COVERAGE_TOKEN: ${{ secrets.QLTY_COVERAGE_TOKEN }} | |
| with: | |
| program: vidx2pidx | |
| test-matrix: '[{"platform":"windows-2022","arch":"amd64"},{"platform":"ubuntu-24.04","arch":"amd64"}]' | |
| go-version-file: ./go.mod | |
| enable-qlty-coverage: true | |
| publish-test-results: | |
| name: "Publish Tests Results" | |
| needs: [ build-and-verify ] | |
| runs-on: ubuntu-latest | |
| permissions: | |
| checks: write | |
| pull-requests: write | |
| if: ${{ github.event.pull_request.user.login != 'dependabot[bot]' && github.workflow != 'Release' }} | |
| steps: | |
| - name: Harden Runner | |
| uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0 | |
| with: | |
| egress-policy: audit | |
| - name: Download Artifacts | |
| uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0 | |
| with: | |
| path: artifacts | |
| - name: publish test results | |
| uses: EnricoMi/publish-unit-test-result-action/linux@3a74b2957438d0b6e2e61d67b05318aa25c9e6c6 # v2.20.0 | |
| with: | |
| files: artifacts/**/vidx2pidx-testreport-*.xml | |
| report_individual_runs: true |