diff --git a/.github/workflows/api.yaml b/.github/workflows/api.yaml new file mode 100644 index 0000000..65d93ee --- /dev/null +++ b/.github/workflows/api.yaml @@ -0,0 +1,20 @@ +# +# DO NOT EDIT THIS FILE +# +# It is automatically copied from https://github.com/pion/.goassets repository. +# If this repository should have package specific CI config, +# remove the repository name from .goassets/.github/workflows/assets-sync.yml. +# +# If you want to update the shared CI config, send a PR to +# https://github.com/pion/.goassets instead of this repository. +# +# SPDX-FileCopyrightText: 2023 The Pion community +# SPDX-License-Identifier: MIT + +name: API Compatibility +on: + pull_request: + +jobs: + test: + uses: pion/.goassets/.github/workflows/api.reusable.yml@split-api-compatibility-check-job diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index c8294ef..3fdf069 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -20,7 +20,7 @@ on: jobs: test: - uses: pion/.goassets/.github/workflows/test.reusable.yml@master + uses: pion/.goassets/.github/workflows/test.reusable.yml@split-api-compatibility-check-job strategy: matrix: go: ['1.21', '1.20'] # auto-update/supported-go-version-list @@ -29,7 +29,7 @@ jobs: go-version: ${{ matrix.go }} test-i386: - uses: pion/.goassets/.github/workflows/test-i386.reusable.yml@master + uses: pion/.goassets/.github/workflows/test-i386.reusable.yml@split-api-compatibility-check-job strategy: matrix: go: ['1.21', '1.20'] # auto-update/supported-go-version-list @@ -38,6 +38,6 @@ jobs: go-version: ${{ matrix.go }} test-wasm: - uses: pion/.goassets/.github/workflows/test-wasm.reusable.yml@master + uses: pion/.goassets/.github/workflows/test-wasm.reusable.yml@split-api-compatibility-check-job with: go-version: '1.20' # auto-update/latest-go-version