Skip to content

Ci/add workflow

Ci/add workflow #7

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/prettier_action@v4.3
with:
dry: True
- name: Lint code issues
uses: golangci/golangci-lint-action@v3.7.1
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