Skip to content

Commit

Permalink
Add simple linting rules to repository
Browse files Browse the repository at this point in the history
  • Loading branch information
ccoVeille committed Apr 7, 2024
1 parent 4a67425 commit 0a092ba
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: CI

on:
push:
branches: [ master ]
tags: [ v* ]
pull_request:
branches: [ master ]

env:
GO_VERSION: ^1.19

permissions:
contents: read

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- uses: actions/checkout@v4
- run: go test ./...

0 comments on commit 0a092ba

Please sign in to comment.