Skip to content

Commit

Permalink
Run lint and tests in PR
Browse files Browse the repository at this point in the history
  • Loading branch information
vegarsti authored and msf committed Jun 5, 2024
1 parent dfc27db commit 8bfd19e
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
name: "Pull Request"

on:
pull_request:
branches:
- main

jobs:
test:
name: "Build Docker image and push to Dockerhub"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Install Go
uses: actions/setup-go@v5
with:
go-version: 1.22

- name: Lint
run: make lint

- name: Test
run: make test

0 comments on commit 8bfd19e

Please sign in to comment.