Fix duration
marshal, unmarshall functions
#1011
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: Build | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
env: | |
SCYLLA_IMAGE: scylladb/scylla:6.1.1 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
- uses: actions/cache@v4 | |
id: gomod-cache | |
with: | |
path: ~/go/pkg/mod | |
key: ${{ runner.os }}-go-${{ hashFiles('go.mod') }} | |
restore-keys: | | |
${{ runner.os }}-go- | |
- run: go vet ./... | |
- name: Run unit tests | |
run: go test -tags unit -race ./... | |
- name: Install Docker compose | |
env: | |
DOCKER_COMPOSE_VERSION: 2.20.0 | |
run: sudo curl -L "https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose | |
- run: sudo sh -c "echo 2097152 >> /proc/sys/fs/aio-max-nr" | |
- run: ./integration.sh cassandra scylla | |
- run: ./integration.sh integration scylla | |
- run: ./integration.sh ccm | |
- run: ./integration.sh tablet |