fix edge case for watermark when index is zero (#1999) #13472
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-badger-tests | |
on: | |
push: | |
branches: | |
- main | |
- 'release/v*' | |
pull_request: | |
branches: | |
- main | |
- 'release/v*' | |
schedule: | |
- cron: "*/30 * * * *" | |
jobs: | |
badger-tests: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Get Go Version | |
run: | | |
#!/bin/bash | |
GOVERSION=$({ [ -f .go-version ] && cat .go-version; }) | |
echo "GOVERSION=$GOVERSION" >> $GITHUB_ENV | |
- name: Setup Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ env.GOVERSION }} | |
- name: Install Dependencies | |
run: make dependency | |
- name: Run Badger Tests | |
run: make test |