Skip to content

Commit

Permalink
add ci for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
mauricedesaxe committed Jul 17, 2024
1 parent 00de801 commit c931a6d
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Go CI

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

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

- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.22.5

- name: Install dependencies
run: go mod tidy

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

0 comments on commit c931a6d

Please sign in to comment.