Skip to content

Adiciona tests, lint e format do github actions para cada pull request #1

Adiciona tests, lint e format do github actions para cada pull request

Adiciona tests, lint e format do github actions para cada pull request #1

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest]
go: [1.19.x, 1.20.x]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- run: go test ./...
if: matrix.os == 'windows-latest'
- run: go test --race ./...
if: matrix.os == 'ubuntu-latest'