chore: project setup

This commit is contained in:
Gustavo "Guz" L. de Mello
2024-08-06 12:29:34 -03:00
commit e6ae43da8a
9 changed files with 288 additions and 0 deletions

30
.github/workflows/checks.yml vendored Normal file
View File

@@ -0,0 +1,30 @@
name: Checks
on:
push:
branches:
- main
pull_request:
branches:
- main
types:
- opened
- synchronize
- reopened
jobs:
lint:
name: Lint
if: ${{ github.repository == 'capytalcode/project-extrovert' }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup go
uses: actions/setup-go@v5
with:
go-version: '1.22.2'
- name: Check
uses: golangci/golangci-lint-action@v6
with:
version: v1.58