Skip to content

Commit c9b7a5c

Browse files
committed
ci: add ci config for gotip
Signed-off-by: Mark Sagi-Kazar <[email protected]>
1 parent b0e403b commit c9b7a5c

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/tip.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Tip
2+
3+
on:
4+
push:
5+
branches:
6+
- generics
7+
8+
jobs:
9+
build:
10+
name: Build
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Set up gotip
15+
working-directory: ${{ github.workspace }}
16+
run: |
17+
git clone https://go.googlesource.com/go $HOME/gotip
18+
cd $HOME/gotip/src
19+
./make.bash
20+
echo "GOROOT=$HOME/gotip" >> $GITHUB_ENV
21+
echo "PATH=$HOME/gotip/bin:$PATH" >> $GITHUB_ENV
22+
23+
- name: Checkout code
24+
uses: actions/checkout@v2
25+
26+
- name: Run tests
27+
run: go test -v ./endpoint/ ./transport/http2/

0 commit comments

Comments
 (0)