Skip to content

Commit

Permalink
Create ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ulyssessouza authored Feb 9, 2024
1 parent 2ee12fa commit 7196360
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Go

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21'

- name: Gotestsum installer
uses: autero1/[email protected]
with:
gotestsum_version: '1.11.0'

- name: Test
run: gotestsum --format testname ./...

0 comments on commit 7196360

Please sign in to comment.