build: bump github.com/nutsdb/nutsdb from 0.14.1 to 0.14.2 #348
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 & Test | |
on: | |
push: | |
branches: | |
- '**' | |
pull_request: | |
branches: | |
- '**' | |
jobs: | |
lint: | |
uses: ./.github/workflows/lint.yaml | |
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' | |