mirror of
https://github.com/pion/webrtc.git
synced 2025-09-26 19:21:12 +08:00
Update CI configs to v0.7.8
Update lint scripts and CI configs.
This commit is contained in:
4
.github/workflows/generate-authors.yml
vendored
4
.github/workflows/generate-authors.yml
vendored
@@ -16,6 +16,8 @@ on:
|
||||
|
||||
jobs:
|
||||
checksecret:
|
||||
permissions:
|
||||
contents: none
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
is_PIONBOT_PRIVATE_KEY_set: ${{ steps.checksecret_job.outputs.is_PIONBOT_PRIVATE_KEY_set }}
|
||||
@@ -28,6 +30,8 @@ jobs:
|
||||
echo "::set-output name=is_PIONBOT_PRIVATE_KEY_set::${{ env.PIONBOT_PRIVATE_KEY != '' }}"
|
||||
|
||||
generate-authors:
|
||||
permissions:
|
||||
contents: write
|
||||
needs: [checksecret]
|
||||
if: needs.checksecret.outputs.is_PIONBOT_PRIVATE_KEY_set == 'true'
|
||||
runs-on: ubuntu-latest
|
||||
|
7
.github/workflows/lint.yaml
vendored
7
.github/workflows/lint.yaml
vendored
@@ -16,6 +16,10 @@ on:
|
||||
- opened
|
||||
- edited
|
||||
- synchronize
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
lint-commit-message:
|
||||
name: Metadata
|
||||
@@ -41,6 +45,9 @@ jobs:
|
||||
|
||||
lint-go:
|
||||
name: Go
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: read
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
|
3
.github/workflows/renovate-go-mod-fix.yaml
vendored
3
.github/workflows/renovate-go-mod-fix.yaml
vendored
@@ -15,6 +15,9 @@ on:
|
||||
branches:
|
||||
- renovate/*
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
go-mod-fix:
|
||||
runs-on: ubuntu-latest
|
||||
|
12
.github/workflows/test.yaml
vendored
12
.github/workflows/test.yaml
vendored
@@ -17,12 +17,16 @@ on:
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
go: ["1.16", "1.17"]
|
||||
go: ["1.17", "1.18"]
|
||||
fail-fast: false
|
||||
name: Go ${{ matrix.go }}
|
||||
steps:
|
||||
@@ -44,9 +48,7 @@ jobs:
|
||||
go-version: ${{ matrix.go }}
|
||||
|
||||
- name: Setup go-acc
|
||||
run: |
|
||||
go get github.com/ory/go-acc
|
||||
git checkout go.mod go.sum
|
||||
run: go install github.com/ory/go-acc@latest
|
||||
|
||||
- name: Set up gotestfmt
|
||||
uses: haveyoudebuggedit/gotestfmt-action@v2
|
||||
@@ -87,7 +89,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
go: ["1.16", "1.17"]
|
||||
go: ["1.17", "1.18"]
|
||||
fail-fast: false
|
||||
name: Go i386 ${{ matrix.go }}
|
||||
steps:
|
||||
|
3
.github/workflows/tidy-check.yaml
vendored
3
.github/workflows/tidy-check.yaml
vendored
@@ -18,6 +18,9 @@ on:
|
||||
branches:
|
||||
- master
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
Check:
|
||||
runs-on: ubuntu-latest
|
||||
|
Reference in New Issue
Block a user