Skip to content

feat: Upgrade Go version in Dockerfile and add note for Markdown hand… #123

feat: Upgrade Go version in Dockerfile and add note for Markdown hand…

feat: Upgrade Go version in Dockerfile and add note for Markdown hand… #123

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 ./...