-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (28 loc) · 924 Bytes
/
Copy pathmain.yaml
File metadata and controls
30 lines (28 loc) · 924 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
on: [push]
jobs:
test-chrome:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.22.5
- run: go get .
- run: go test -v ./...
test-lightpanda:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.22.5
- name: Install Lightpanda
run: |
curl -sSL -o /usr/local/bin/lightpanda https://github.com/lightpanda-io/browser/releases/latest/download/lightpanda-x86_64-linux
chmod +x /usr/local/bin/lightpanda
lightpanda version
- run: go get .
# The middleware auto-detects lightpanda from PATH (preferred over
# chrome) and launches it itself through the render proxy. No
# external lightpanda process or env-var indirection needed.
- run: go test -v ./...