Skip to content

bump go-toolset, and retarget tests #565

bump go-toolset, and retarget tests

bump go-toolset, and retarget tests #565

Workflow file for this run

name: Go
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
name: alltests
runs-on: [self-hosted,go]
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Setup correct Go version
uses: actions/setup-go@v2
with:
go-version: '1.19.10'
check-latest: true
- name: alltests
run: |
rm -rf /root/go/src/github.com/IBM
mkdir -p /root/go/src/github.com/IBM/
mv /tmp/github-runner-your-repo/portieris/portieris /root/go/src/github.com/IBM/
cd /root/go/src/github.com/IBM/portieris/
export PATH=$PATH:/usr/local/go/bin/
export GOPATH=$HOME/go
export PATH=$PATH:$HOME/go/bin/
export TERM=ansi
make alltests
mv /root/go/src/github.com/IBM/portieris/ /tmp/github-runner-your-repo/portieris/