mirror of
https://github.com/vocdoni/arbo.git
synced 2026-01-09 22:07:56 -05:00
21 lines
539 B
YAML
21 lines
539 B
YAML
name: Test
|
|
on: [push, pull_request]
|
|
jobs:
|
|
test:
|
|
# matrix strategy from: https://github.com/mvdan/github-actions-golang/blob/master/.github/workflows/test.yml
|
|
strategy:
|
|
matrix:
|
|
go-version: [1.23.x]
|
|
platform: [ubuntu-latest]
|
|
runs-on: ${{ matrix.platform }}
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
- name: Install Go
|
|
uses: actions/setup-go@v5
|
|
with:
|
|
go-version: ${{ matrix.go-version }}
|
|
cache: true
|
|
- name: Run tests
|
|
run: go test ./...
|