Skip to content

workflows: add DST workflow #17

workflows: add DST workflow

workflows: add DST workflow #17

Workflow file for this run

name: DST
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
run: |
which go
go env
curl -L -o go-custom-linux-amd64.tar.gz https://github.com/asubiotto/go/releases/download/v0.0.1-test/go-custom-linux-amd64.tar.gz
tar -xzf go-custom-linux-amd64.tar.gz
sudo mv go /usr/local/go
# Prepend, rather than append the custom binary (otherwise the default
# go binary will be used).
echo "/usr/local/go/bin" >> $GITHUB_PATH
echo "GOROOT=/usr/local/go" >> $GITHUB_ENV
sudo chmod -R 755 /usr/local/go
go version
go env
which go
- name: Run tests
run: |
which go
go version
go env
go clean -cache -modcache -i -r
go test ./...