violet/.github/workflows/test.yml

19 lines
459 B
YAML
Raw Normal View History

2023-04-24 15:41:27 +01:00
on: [push, pull_request]
name: Test
jobs:
test:
strategy:
matrix:
2023-12-04 16:40:02 +00:00
go-version: [1.21.x]
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
- 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 ./...