Skip to content

fix: compare full path to support nested groups (#253) #243

fix: compare full path to support nested groups (#253)

fix: compare full path to support nested groups (#253) #243

name: Build & Test
on:
push:
tags:
- v*
branches:
- main
pull_request:
permissions:
contents: read
jobs:
build_and_test:
strategy:
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # ratchet:actions/checkout@v3
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe
with:
go-version: '1.20'
- name: Verify dependencies
run: go mod verify
- name: Build
run: go build -v ./...
- name: Test
run: go test -count=1 -shuffle=on -timeout=10m -race $(go list ./... | grep -vE '^github.com/Legit-Labs/legitify/e2e')
- name: Vet
run: go vet -v ./...