Skip to content

Commit

Permalink
ci: add go.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
ammario committed May 26, 2024
1 parent c8a7f6c commit eaef416
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/go.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Go Test

on:
push:
branches:
pull_request:
branches:

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.22

- name: Install dependencies
run: go mod tidy

- name: Run tests
run: go test ./...

0 comments on commit eaef416

Please sign in to comment.