Skip to content

Commit 714edfc

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

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/tip.yaml

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

0 commit comments

Comments
 (0)