Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
9ssi7 committed Dec 22, 2023
2 parents 2dc4a94 + f5f3705 commit a224304
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/lint-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Go Test and Lint

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
test-and-lint:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: '^1.21'

- name: Install dependencies
run: go mod download

- name: Run linters
run: |
go install golang.org/x/lint/golint@latest
golint ./...
- name: Run tests
run: go test -v ./...

0 comments on commit a224304

Please sign in to comment.