Skip to content

chore(deps): bump github.com/google/uuid from 1.4.0 to 1.5.0 #1243

chore(deps): bump github.com/google/uuid from 1.4.0 to 1.5.0

chore(deps): bump github.com/google/uuid from 1.4.0 to 1.5.0 #1243

Workflow file for this run

name: e2e
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
run:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
go:
- "1.20"
- "1.21"
clickhouse:
- v21.8.14.5-lts
- v22.3.11.12-lts
- v22.8.5.29-lts
- v22.8.20.11-lts
- v23.3.8.21-lts
- v23.8.7.24-lts
- v23.10.3.5-stable
steps:
- uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: Get Go environment
id: go-env
run: |
echo "::set-output name=cache::$(go env GOCACHE)"
echo "::set-output name=modcache::$(go env GOMODCACHE)"
- name: Set up cache
uses: actions/cache@v3
with:
path: |
${{ steps.go-env.outputs.cache }}
${{ steps.go-env.outputs.modcache }}
key: e2e-${{ runner.os }}-go${{ matrix.go }}-${{ hashFiles('**/go.sum') }}
restore-keys: |
e2e-${{ runner.os }}-go${{ matrix.go }}-
- name: Set up ClickHouse cache
uses: actions/cache@v3
with:
path: /opt/ch/clickhouse
key: ClickHouse-${{ matrix.clickhouse }}
- name: Check ClickHouse
id: "ch_exists"
uses: andstor/file-existence-action@v2
with:
files: /opt/ch/clickhouse
- name: Download ClickHouse
if: steps.ch_exists.outputs.files_exists != 'true'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: cd internal/cmd/ch-dl && go run . ${{ matrix.clickhouse }}
- name: Run tests
env:
CH_BIN: "/opt/ch/clickhouse"
CH_E2E: "TRUE"
run: go test -v ./...