Skip to content

fix: import issue - require sub modules in top module (#6) #19

fix: import issue - require sub modules in top module (#6)

fix: import issue - require sub modules in top module (#6) #19

Workflow file for this run

name: CI
on:
pull_request_target:
types: [opened, synchronize]
push:
branches:
- "main"
jobs:
build-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ["1.18", "1.19", "1.20", "1.21"]
steps:
- uses: actions/checkout@v4
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Install dependencies
run: find . -name go.mod -execdir go get . \;
- name: Build
run: find . -name go.mod -execdir go build . \;
- name: Test
run: find . -name go.mod -execdir go test ./... \;