mirror of
https://github.com/laravel-ls/protocol.git
synced 2026-06-16 12:04:57 +02:00
add .github/workflows/test.yml
This commit is contained in:
parent
57025f280a
commit
3094133c24
1 changed files with 25 additions and 0 deletions
25
.github/workflows/test.yml
vendored
Normal file
25
.github/workflows/test.yml
vendored
Normal 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 ./...
|
||||
Loading…
Add table
Add a link
Reference in a new issue