Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

Commit

Permalink
ci: Add PR validation
Browse files Browse the repository at this point in the history
  • Loading branch information
bjw-s committed Dec 7, 2023
1 parent bb647ef commit c07dcc0
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/pr-validate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: "Pull Request: Validate"

on:
pull_request:
branches:
- main
types:
- opened
- synchronize
- reopened

jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3

- name: Install Go
uses: actions/setup-go@v4
with:
go-version: ">=1.20"
cache: true

- name: Run Go test
run: go test -v ./src/

0 comments on commit c07dcc0

Please sign in to comment.