[bug]: fix storage panic when write old data point #1950
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: LinDB CI | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
golangci: | |
name: Golangci-Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
- name: Setup Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.19 | |
cache: true | |
id: go | |
- name: Make Mock files | |
run: make gomock | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
version: v1.51.2 | |
linux-test-with-coverage: | |
name: Uint Test With Coverage(Linux) | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
- name: Setup Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.19 | |
cache: true | |
id: go | |
- name: Make Mock files | |
run: make gomock | |
- name: Test | |
run: make test-without-lint | |
- name: Upload | |
run: bash <(curl -s https://codecov.io/bash) -t ${{ secrets.CODECOV_TOKEN }} | |
darwin-test: | |
name: Unit Test(MacOS) | |
runs-on: macos-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
- name: Setup Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.19 | |
cache: true | |
id: go | |
- name: Make Mock files | |
run: make gomock | |
- name: Test | |
run: make test-without-lint | |
windows-test: | |
name: Unit Test(Windows) | |
runs-on: windows-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
- name: Setup Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.19 | |
cache: true | |
id: go | |
- name: Install mingw 11.2.0 | |
run: choco install mingw --version 11.2.0 --allow-downgrade --execution-timeout 10000 | |
- name: Make Mock files | |
run: make gomock | |
- name: Test | |
run: make test-without-lint | |
linux-e2e-test: | |
name: E2E Test(Linux) | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.19 | |
cache: true | |
- name: Test | |
run: make e2e | |
e2e-test-darwin: | |
name: E2E Test(MacOS) | |
runs-on: macos-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.19 | |
cache: true | |
- name: Test | |
run: make e2e | |
e2e-test-windows: | |
name: E2E Test(Windows) | |
runs-on: windows-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.19 | |
cache: true | |
- name: Install mingw 11.2.0 | |
run: choco install mingw --version 11.2.0 --allow-downgrade --execution-timeout 10000 | |
- name: Test | |
run: make e2e | |
linux-crossversion: | |
name: Build-Lind-CrossVersion | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.19 | |
cache: true | |
- name: Build | |
run: make build-lind |