Bump github.com/trinodb/trino-go-client from 0.320.0 to 0.321.0 #340
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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node.js environment | |
uses: actions/[email protected] | |
with: | |
node-version: "14.x" | |
cache: 'yarn' | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Build and test frontend | |
run: yarn build | |
- name: Setup Go environment | |
uses: actions/setup-go@v5 | |
with: | |
go-version: "1.22" | |
- name: Test backend | |
uses: magefile/mage-action@v3 | |
with: | |
version: latest | |
args: coverage | |
- name: Build backend | |
uses: magefile/mage-action@v3 | |
with: | |
version: latest | |
args: buildAll | |
- name: End to end test | |
run: | | |
docker network create trino | |
docker run \ | |
--rm --detach \ | |
--name trino \ | |
--net trino \ | |
trinodb/trino:468 | |
docker run \ | |
--rm --detach \ | |
--name grafana \ | |
--net trino \ | |
--publish 3000:3000 \ | |
--volume "$(pwd):/var/lib/grafana/plugins/trino" \ | |
--env "GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=trino-datasource" \ | |
grafana/grafana:11.4.0 | |
npx tsc -p tsconfig.json --noEmit | |
npx playwright install | |
npx playwright test |