Merge pull request #1207 from cloudevents/dependabot/go_modules/test/… #1943
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: Conformance | |
| on: | |
| push: | |
| branches: [ 'main', 'release-*' ] | |
| pull_request: | |
| branches: [ 'main', 'release-*' ] | |
| permissions: | |
| contents: read | |
| jobs: | |
| conformance: | |
| name: CloudEvents Conformance | |
| strategy: | |
| matrix: | |
| go-version: [1.24] | |
| platform: [ubuntu-latest] | |
| runs-on: ${{ matrix.platform }} | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1 | |
| - name: Setup Go ${{ matrix.go-version }} | |
| uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0 | |
| with: | |
| go-version: ${{ matrix.go-version }} | |
| cache-dependency-path: v2/go.sum | |
| id: go | |
| - name: Update git submodule | |
| run: git submodule sync && git submodule update --init | |
| - name: Build | |
| run: ./hack/conformance-test.sh | |