Skip to content

Add github action

Add github action #1

Workflow file for this run

on: [push]
name: Build
jobs:
test:
strategy:
matrix:
go-version: [1.22.x]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v4
- run: go mod download
- name: Build
run: go build ./cmd/app/main.go