Merge pull request #947 from cloudevents/dependabot/go_modules/observ… #1073
This file contains 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-*' ] | |
jobs: | |
conformance: | |
name: CloudEvents | |
strategy: | |
matrix: | |
go-version: [1.17.x] | |
platform: [ubuntu-latest] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Go ${{ matrix.go-version }} | |
uses: actions/setup-go@v4 | |
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 | |