chore: project setup
This commit is contained in:
30
.github/workflows/checks.yml
vendored
Normal file
30
.github/workflows/checks.yml
vendored
Normal 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
|
||||
Reference in New Issue
Block a user