Skip to content

Merge pull request #47 from goravel/dependabot/go_modules/go-modules-… #91

Merge pull request #47 from goravel/dependabot/go_modules/go-modules-…

Merge pull request #47 from goravel/dependabot/go_modules/go-modules-… #91

Workflow file for this run

name: Test
on:
push:
branches:
- master
pull_request:
jobs:
test:
strategy:
matrix:
go:
- '1.21'
- '1.22'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: Install dependencies
run: go mod tidy
- name: Run tests
run: go test ./...
windows:
strategy:
matrix:
go:
- '1.21'
- '1.22'
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: Install dependencies
run: go mod tidy
- name: Run tests
run: go test ./... -short