Skip to content

Merge pull request #4 from kelseyaubrecht/ci/add_workflow #8

Merge pull request #4 from kelseyaubrecht/ci/add_workflow

Merge pull request #4 from kelseyaubrecht/ci/add_workflow #8

Workflow file for this run

name: Test xk6-webtransport
on:
pull_request:
push:
branches:
- main
jobs:
test:
name: Lint and build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.22
- name: Run prettier
uses: creyD/[email protected]
with:
dry: True
- name: Lint code issues
uses: golangci/[email protected]
with:
skip-pkg-cache: true
- name: Build k6 with xk6-webtransport
run: |
go install go.k6.io/xk6/cmd/xk6@latest
xk6 build --with github.com/kelseyaubrecht/xk6-webtransport@latest