36 lines
823 B
YAML
36 lines
823 B
YAML
name: thirdparty
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
paths:
|
|
- "tests/thirdparty/**"
|
|
pull_request:
|
|
paths:
|
|
- "tests/thirdparty/**"
|
|
|
|
jobs:
|
|
test:
|
|
strategy:
|
|
matrix:
|
|
go-version: [1.18.x]
|
|
platform: [ubuntu-latest]
|
|
runs-on: ${{ matrix.platform }}
|
|
steps:
|
|
- name: Install Go
|
|
uses: actions/setup-go@f6164bd8c8acb4a71fb2791a8b6c4024ff038dab # v3.0.0
|
|
with:
|
|
go-version: ${{ matrix.go-version }}
|
|
check-latest: true
|
|
- name: Checkout code
|
|
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
|
|
with:
|
|
persist-credentials: false
|
|
- name: Run Third-Party Tests
|
|
working-directory: tests/thirdparty
|
|
run: go test -net -pkgs packages.json
|