diff --git a/.github/workflows/tip.yaml b/.github/workflows/tip.yaml new file mode 100644 index 000000000..f2a613aa9 --- /dev/null +++ b/.github/workflows/tip.yaml @@ -0,0 +1,28 @@ +name: Tip + +on: + push: + branches: + - generics + pull_request: + +jobs: + build: + name: Build + runs-on: ubuntu-latest + + steps: + - name: Set up gotip + working-directory: ${{ github.workspace }} + run: | + git clone https://go.googlesource.com/go $HOME/gotip + cd $HOME/gotip/src + ./make.bash + echo "GOROOT=$HOME/gotip" >> $GITHUB_ENV + echo "PATH=$HOME/gotip/bin:$PATH" >> $GITHUB_ENV + + - name: Checkout code + uses: actions/checkout@v2 + + - name: Run tests + run: go test -v ./endpoint/ ./transport/http2/