Skip to content

remove working directory so we can use the workspace #78

remove working directory so we can use the workspace

remove working directory so we can use the workspace #78

Workflow file for this run

on: [push, pull_request]
name: Test
jobs:
test:
strategy:
matrix:
go-version: [1.21.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v4
# - name: Set GOPATH
# run: go env -w GOPATH=$HOME/go
# - name: Set GOBIN
# run: mkdir bin && export GOBIN=$GOPATH/bin
- name: Build and Run Scholar Tests
run: |
go get ./scholar
go build ./scholar
# go test ./scholar
- name: Build and Run Scholar-Example Tests
run: |
go get ./scholar-example
go build ./scholar-example
go test ./scholar-example