Skip to content

Commit

Permalink
Test API compatibility job
Browse files Browse the repository at this point in the history
  • Loading branch information
at-wat committed Feb 29, 2024
1 parent 7adea42 commit 8d3cedc
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 3 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/api.yaml
Original file line number Diff line number Diff line change
@@ -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 <https://pion.ly>
# 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
6 changes: 3 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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

0 comments on commit 8d3cedc

Please sign in to comment.