build(deps): bump github.com/gin-gonic/gin from 1.7.7 to 1.9.0 (#40) #133
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Go | |
on: [ push ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go: [ '1.17' ] | |
name: Go ${{ matrix.go }} | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: checkout TDengine | |
uses: actions/checkout@v3 | |
with: | |
repository: 'taosdata/TDengine' | |
path: 'TDengine' | |
ref: 'main' | |
- name: install TDengine | |
run: | | |
cd TDengine | |
mkdir debug | |
cd debug | |
cmake .. -DBUILD_HTTP=false -DBUILD_JDBC=false -DBUILD_TOOLS=false -DBUILD_TEST=off | |
make -j 32 | |
sudo make install | |
which taosd | |
which taosadapter | |
- name: start taosd | |
run: nohup sudo taosd & | |
- name: start taosadapter | |
run: nohup sudo taosadapter & | |
- name: test | |
run: | |
go mod tidy && go test -v ./... | |
- name: Build | |
run: | | |
go mod tidy | |
go build |