Skip to content

feat: Implement Jav Service Data Model and MongoDB Integration #106

feat: Implement Jav Service Data Model and MongoDB Integration

feat: Implement Jav Service Data Model and MongoDB Integration #106

Workflow file for this run

name: Linter
on:
push:
branches: [ master, develop ]
paths-ignore:
- "**/*.md"
- ".scripts/*.sh"
jobs:
check:
runs-on: ubuntu-latest
strategy:
matrix:
go: [ '1.22' ]
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v2
with:
path: |
vendor
$HOME/.cache/go-build
$GOPATH/pkg/mod
key: ${{ runner.os }}-laisky-blog-graphql
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- run: go version
- run: pwd
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
- run: go mod vendor
- run: go vet
- run: go test -race -coverprofile=coverage.txt -covermode=atomic ./...
- run: go test -bench ./...