Skip to content

Tru updated; go module updated #87

Tru updated; go module updated

Tru updated; go module updated #87

Workflow file for this run

name: Go
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
- name: Set private packages
run: go env -w GOPRIVATE=github.com/teonet-go/teonet,github.com/teonet-go/teomon,github.com/teonet-go/tru
- name: Change Github URL
env:
USER: ${{ secrets.USER }}
PERSONAL_TOKEN: ${{ secrets.PERSONAL_TOKEN }}
run: git config --global url."https://$USER:$PERSONAL_TOKEN@github.com".insteadOf "https://github.com"
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...