1
0
Fork 0
mirror of https://github.com/laravel-ls/protocol.git synced 2026-06-16 03:54:56 +02:00

add .github/workflows/test.yml

This commit is contained in:
Henrik Hautakoski 2026-03-01 23:07:12 +01:00
parent 57025f280a
commit 3094133c24

25
.github/workflows/test.yml vendored Normal file
View file

@ -0,0 +1,25 @@
name: Test
permissions:
contents: read
on:
- push
- pull_request
jobs:
test:
strategy:
fail-fast: false
matrix:
go-version: ['1.19', '1.20', '1.21', '1.22', '1.23']
runs-on: ubuntu-latest
name: v${{ matrix.go-version }}
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: ${{ matrix.go-version }}
- name: Test
run: go test -v ./...