Skip to content
This repository has been archived by the owner on Dec 4, 2024. It is now read-only.

Commit

Permalink
Merge pull request #19 from arkhon-foundation/workflow/go-ci
Browse files Browse the repository at this point in the history
workflow: Go CI
  • Loading branch information
devkcud authored May 4, 2024
2 parents a1dee9c + 1c14118 commit 5017f8a
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Go
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.22'
- name: Build
run: go build -v ./cmd/api/main.go
- name: Test
run: go test -v ./tests

0 comments on commit 5017f8a

Please sign in to comment.