Skip to content

Update CI config

Update CI config #21

Workflow file for this run

name: CI Pipeline
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.image }}
strategy:
matrix:
image:
- macos-13 # x86_64 support needed for old versions of Go
- ubuntu-22.04
- windows-2022
go:
- '1.23'
- '1.14' # Made -mod=vendor default
- '1.13' # Earliest version we officially support
name: Build (${{ matrix.image }}, go ${{ matrix.go }})
steps:
- uses: actions/checkout@v4
- name: Install dependencies
if: runner.os == 'Linux'
run: sudo apt-get update && sudo apt-get install -y libwebkit2gtk-4.0-dev
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: Build examples
run: >
go build
./examples/basic
./examples/bind
- name: Run tests
run: go test