Skip to content

Merge pull request #2 from BackendStack21/ci/add-github-actions-workf… #5

Merge pull request #2 from BackendStack21/ci/add-github-actions-workf…

Merge pull request #2 from BackendStack21/ci/add-github-actions-workf… #5

Workflow file for this run

name: CI
on:
push:
branches: ["**"]
pull_request:
branches: ["**"]
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true
- name: Build
run: go build ./...
- name: Vet
run: go vet ./...
- name: Test
run: go test -race ./...