Skip to content

Commit

Permalink
Add GitHub Actions workflow for Go
Browse files Browse the repository at this point in the history
  • Loading branch information
hayageek committed Jun 27, 2024
1 parent 88e496f commit d24a95e
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Go

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.18

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

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

0 comments on commit d24a95e

Please sign in to comment.