refactor: modernize Go syntax with range over integers #135
This file contains hidden or 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: Clickhouse | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up Go | |
| uses: actions/setup-go@v3 | |
| with: | |
| go-version: 1.18 | |
| - name: ClickHouse in GitHub Actions | |
| uses: EpicStep/clickhouse-github-action@v1.0.0 | |
| - name: Init ClickHouse DataSet | |
| run: | | |
| sudo apt-get install -y clickhouse-client | |
| bash ./scripts/clickhouse.sh | |
| - name: Test | |
| run: go test -v -covermode=atomic ./... -bench . -benchmem --args clickhouse | |