Skip to content

build: bump github.com/nutsdb/nutsdb from 0.14.1 to 0.14.3 #358

build: bump github.com/nutsdb/nutsdb from 0.14.1 to 0.14.3

build: bump github.com/nutsdb/nutsdb from 0.14.1 to 0.14.3 #358

Workflow file for this run

name: Build & Test
on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
jobs:
lint:
uses: ./.github/workflows/lint.yaml

Check failure on line 13 in .github/workflows/build-test.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-test.yaml

Invalid workflow file

error parsing called workflow ".github/workflows/build-test.yaml" -> "./.github/workflows/lint.yaml" (source branch with sha:4b9fc3fa45031290b1e67964bb6cc4b064fed882) : workflow is not reusable as it is missing a `on.workflow_call` trigger
buildandtest:
name: "Build & Test"
# if: ${{ github.event.lint.conclusion == 'success' }}
needs: [lint]
strategy:
matrix:
go: [ '1.19','1.20' ]
os: [ 'ubuntu-latest', 'macOS-latest' ]
runs-on: ${{ matrix.os }}
steps:
- name: "Setup Git Project"
uses: actions/checkout@v4
- name: "Setup Go Env"
uses: actions/setup-go@v4
with:
cache: true
go-version: ">=1.19"
# go-version: ${{ matrix.go }}
- name: "Check Go Dependencies"
run: go mod tidy
- name: "Build"
run: go build -v ./...
- name: "Check Go Tests"
run: go test -v -race ./... -coverprofile=coverage.txt -covermode=atomic -timeout=90s
# run: go test -v -cover -race -timeout 60s ./...
- name: "Check Go Formatting"
run: |
test -z $(gofmt -l -s .)
- name: Codecov
uses: codecov/codecov-action@v3
if: matrix.os == 'ubuntu-latest'