Skip to content

Commit

Permalink
ci: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Vardominator committed Sep 19, 2023
1 parent 070d879 commit 78126a6
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ on:
push:
branches:
- "**"
pull_request:
branches:
- "**"

jobs:
build:
Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ tidy:

format: tidy
go fmt ./...
golines -w .

lint: format
golangci-lint run

test: tidy
go test -v ./...
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@

# Getting Started

## Prerequisites
* Go 1.21
* [golangci-lint](https://golangci-lint.run/usage/install/) for linting
* [golines](https://github.com/segmentio/golines) for formatting

## Installation

### [Go Reference](https://pkg.go.dev/github.com/maestro-org/go-sdk#section-readme)
Expand Down

0 comments on commit 78126a6

Please sign in to comment.