Skip to content

Commit

Permalink
Merge pull request #87 from mesosphere/mh/gha-go-test
Browse files Browse the repository at this point in the history
feat: add gha go test
  • Loading branch information
mhrabovcin authored Aug 21, 2024
2 parents 057c6d4 + 9e341c9 commit 3cfdc2f
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: go-test

on:
pull_request:
branches:
- master

jobs:
build:
name: Run Go tests
runs-on:
- self-hosted
- medium
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- name: Test
run: go test ./...
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/mesosphere/traefik-forward-auth

go 1.12
go 1.13

require (
github.com/VividCortex/gohistogram v1.0.0 // indirect
Expand Down

0 comments on commit 3cfdc2f

Please sign in to comment.