Skip to content

Commit

Permalink
Adds fmt and vet
Browse files Browse the repository at this point in the history
  • Loading branch information
nickschuch committed Nov 23, 2023
1 parent 9ca45bd commit 891878a
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/fmt.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: 📋 Format

on:
push

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: ⬇️ Git clone the repository
uses: actions/checkout@v3

- name: 📦 Install Go
uses: actions/setup-go@v3
with:
go-version: '1.21'

- name: 📋 Gofmt
run: go fmt ./...
19 changes: 19 additions & 0 deletions .github/workflows/vet.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: 📋 Vet

on:
push

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: ⬇️ Git clone the repository
uses: actions/checkout@v3

- name: 📦 Install Go
uses: actions/setup-go@v3
with:
go-version: '1.21'

- name: 📋 Vet
run: go vet ./...

0 comments on commit 891878a

Please sign in to comment.