You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
garble/.github/workflows/test.yml

38 lines
896 B
YAML

on: [push, pull_request]
name: Test
jobs:
test:
strategy:
matrix:
go-version: [1.14.x, 1.15.x]
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
4 years ago
uses: actions/checkout@v2
- name: Test
run: |
go version
go test ./...
test-gotip:
runs-on: ubuntu-latest
steps:
- name: Install Go
run: |
git clone --depth=1 https://go.googlesource.com/go $HOME/gotip
cd $HOME/gotip/src
./make.bash
echo "::set-env name=GOROOT::$HOME/gotip"
echo "::add-path::$HOME/gotip/bin"
- name: Checkout code
uses: actions/checkout@v2
- name: Test
run: |
go version
go test ./...