github.com/pion/webrtc/v4@v4.0.1/.github/workflows/test.yaml (about)

     1  #
     2  # DO NOT EDIT THIS FILE
     3  #
     4  # It is automatically copied from https://github.com/pion/.goassets repository.
     5  # If this repository should have package specific CI config,
     6  # remove the repository name from .goassets/.github/workflows/assets-sync.yml.
     7  #
     8  # If you want to update the shared CI config, send a PR to
     9  # https://github.com/pion/.goassets instead of this repository.
    10  #
    11  # SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
    12  # SPDX-License-Identifier: MIT
    13  
    14  name: Test
    15  on:
    16    push:
    17      branches:
    18        - master
    19    pull_request:
    20  
    21  jobs:
    22    test:
    23      uses: pion/.goassets/.github/workflows/test.reusable.yml@master
    24      strategy:
    25        matrix:
    26          go: ["1.23", "1.22"] # auto-update/supported-go-version-list
    27        fail-fast: false
    28      with:
    29        go-version: ${{ matrix.go }}
    30      secrets: inherit
    31  
    32    test-i386:
    33      uses: pion/.goassets/.github/workflows/test-i386.reusable.yml@master
    34      strategy:
    35        matrix:
    36          go: ["1.23", "1.22"] # auto-update/supported-go-version-list
    37        fail-fast: false
    38      with:
    39        go-version: ${{ matrix.go }}
    40  
    41    test-wasm:
    42      uses: pion/.goassets/.github/workflows/test-wasm.reusable.yml@master
    43      with:
    44        go-version: "1.23" # auto-update/latest-go-version
    45      secrets: inherit