fork of https://github.com/sourcegraph/zoekt
0

Configure Feed

Select the types of activity you want to include in your feed.

ci: cache go mod and universal-ctags (#846)

+24 -2
+24 -2
.github/workflows/ci.yml
··· 12 12 steps: 13 13 - name: checkout 14 14 uses: actions/checkout@v3 15 + 15 16 - name: add dependencies 16 - run: apk add go git 17 + run: apk add go git tar 18 + 19 + - name: Cache ctags 20 + uses: actions/cache@v3 21 + with: 22 + path: /usr/local/bin/universal-ctags 23 + key: ${{ runner.os }}-ctags-${{ hashFiles('install-ctags-alpine.sh') }} 24 + 25 + - name: Cache Go modules 26 + uses: actions/cache@v3 27 + with: 28 + path: | 29 + ~/.cache/go-build 30 + ~/go/pkg/mod 31 + key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} 32 + restore-keys: | 33 + ${{ runner.os }}-go- 34 + 17 35 - name: install ctags 18 - run: ./install-ctags-alpine.sh 36 + run: | 37 + if [ ! -f /usr/local/bin/universal-ctags ]; then 38 + ./install-ctags-alpine.sh 39 + fi 40 + 19 41 - name: test 20 42 run: go test ./... 21 43