mirror of
https://github.com/pion/mediadevices.git
synced 2025-10-05 00:32:44 +08:00
Update CI Go versions to 20 and 21 (#529)
This commit is contained in:
12
.github/workflows/ci.yaml
vendored
12
.github/workflows/ci.yaml
vendored
@@ -14,8 +14,8 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
go:
|
go:
|
||||||
- '1.18'
|
- '1.20'
|
||||||
- '1.19'
|
- '1.21'
|
||||||
name: Linux Go ${{ matrix.go }}
|
name: Linux Go ${{ matrix.go }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
@@ -35,7 +35,7 @@ jobs:
|
|||||||
- name: Run Test Suite
|
- name: Run Test Suite
|
||||||
run: make test
|
run: make test
|
||||||
- uses: codecov/codecov-action@v3
|
- uses: codecov/codecov-action@v3
|
||||||
if: matrix.go == '1.19'
|
if: matrix.go == '1.21'
|
||||||
build-darwin:
|
build-darwin:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
@@ -44,8 +44,8 @@ jobs:
|
|||||||
- macos-latest
|
- macos-latest
|
||||||
- ['self-hosted', 'macOS', 'ARM64']
|
- ['self-hosted', 'macOS', 'ARM64']
|
||||||
go:
|
go:
|
||||||
- '1.18'
|
- '1.20'
|
||||||
- '1.19'
|
- '1.21'
|
||||||
runs-on: ${{ matrix.runs-on }}
|
runs-on: ${{ matrix.runs-on }}
|
||||||
name: Darwin Go ${{ matrix.go }} ${{ join(matrix.runs-on, ' ') }}
|
name: Darwin Go ${{ matrix.go }} ${{ join(matrix.runs-on, ' ') }}
|
||||||
steps:
|
steps:
|
||||||
@@ -111,7 +111,7 @@ jobs:
|
|||||||
- name: Setup Go
|
- name: Setup Go
|
||||||
uses: actions/setup-go@v4
|
uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
go-version: '1.19'
|
go-version: '1.21'
|
||||||
- name: Installing go-licenses
|
- name: Installing go-licenses
|
||||||
run: go install github.com/google/go-licenses@latest
|
run: go install github.com/google/go-licenses@latest
|
||||||
- name: Checking licenses
|
- name: Checking licenses
|
||||||
|
Reference in New Issue
Block a user