Skip to content

Commit

Permalink
Merge pull request #2 from grafana/add_workflow
Browse files Browse the repository at this point in the history
Add check for pull request.
  • Loading branch information
mattdurham authored Nov 15, 2024
2 parents da81741 + 9ecfa6e commit 84a3115
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Go
on: [pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.23.1'
- name: Install dependencies
run: go mod vendor
- name: Test with the Go CLI
run: go test ./...

0 comments on commit 84a3115

Please sign in to comment.