mirror of
https://github.com/1f349/violet.git
synced 2024-11-21 19:01:39 +00:00
19 lines
459 B
YAML
19 lines
459 B
YAML
on: [push, pull_request]
|
|
name: Test
|
|
jobs:
|
|
test:
|
|
strategy:
|
|
matrix:
|
|
go-version: [1.22.x]
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/setup-go@v3
|
|
with:
|
|
go-version: ${{ matrix.go-version }}
|
|
- uses: actions/checkout@v3
|
|
- run: sudo add-apt-repository ppa:inkscape.dev/stable
|
|
- run: sudo apt-get update
|
|
- run: sudo apt-get install inkscape -y
|
|
- run: go build ./cmd/violet/
|
|
- run: go test ./...
|