Skip to content

Commit

Permalink
github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
igorcrevar committed Mar 27, 2024
1 parent 52b29d6 commit 5161d61
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
name: Build and Tests

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

jobs:
build:

runs-on: ubuntu-latest
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v4
with:
submodules: recursive

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.20.x

- name: Build
run: go build -v ./...

- name: Test
run: go test -v ./...

0 comments on commit 5161d61

Please sign in to comment.