2023-04-24 15:41:27 +01:00
|
|
|
on: [push, pull_request]
|
|
|
|
name: Test
|
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2024-04-15 16:21:47 +01:00
|
|
|
go-version: [1.22.x]
|
2023-06-05 00:10:01 +01:00
|
|
|
runs-on: ubuntu-latest
|
2023-04-24 15:41:27 +01:00
|
|
|
steps:
|
|
|
|
- uses: actions/setup-go@v3
|
|
|
|
with:
|
|
|
|
go-version: ${{ matrix.go-version }}
|
|
|
|
- uses: actions/checkout@v3
|
2023-07-13 00:28:47 +01:00
|
|
|
- run: sudo add-apt-repository ppa:inkscape.dev/stable
|
|
|
|
- run: sudo apt-get update
|
2023-06-05 00:06:58 +01:00
|
|
|
- run: sudo apt-get install inkscape -y
|
2023-04-24 15:42:42 +01:00
|
|
|
- run: go build ./cmd/violet/
|
2023-04-24 15:41:27 +01:00
|
|
|
- run: go test ./...
|