Skip to content

add --source Parameter #1073

add --source Parameter

add --source Parameter #1073

Workflow file for this run

name: Test
on:
push:
branches:
- "main"
pull_request:
paths:
- "src/**"
- "main.go"
- "go.mod"
- "go.sum"
jobs:
test:
strategy:
matrix:
go-version: [1.18.x]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- name: Build
run: go build ./...
- name: Test
run: go test ./...