Skip to content

fix: Harden URL validation and simplify checklist logic #6

fix: Harden URL validation and simplify checklist logic

fix: Harden URL validation and simplify checklist logic #6

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Install Linux deps
run: sudo apt-get update && sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev
- name: Vet
run: go vet -tags webkit2_41 ./...
- name: Test
run: go test -v -race -coverprofile=coverage.txt -covermode=atomic -count=1 -tags webkit2_41 ./internal/...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}