Files
avo/.github/workflows/thirdparty.yml
Michael McLoughlin 1bba0bed7f ci: bump to go 1.20 (#375)
* Update CI Go version to 1.20/1.19
* Update `golangci-lint` to v1.51.2
* Update coverage collection to use new Go 1.20 tools
* Update coverage job to only run on latest Go version

Fixes #367
2023-03-05 14:22:23 -08:00

38 lines
1.0 KiB
YAML

name: thirdparty
permissions:
contents: read
on:
push:
branches:
- master
paths:
- "tests/thirdparty/**"
pull_request:
paths:
- ".github/workflows/thirdparty.yml"
- "tests/thirdparty/**"
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # v3.3.1
with:
go-version: 1.20.x
check-latest: true
- name: Checkout code
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
with:
persist-credentials: false
- name: Generate App Token
uses: tibdex/github-app-token@021a2405c7f990db57f5eae5397423dcc554159c # v1.7.0
id: app
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}
- name: Run Third-Party Tests
working-directory: tests/thirdparty
env:
GITHUB_TOKEN: ${{ steps.app.outputs.token }}
run: go test -timeout 15m -args -net -suite suite.json