go-cdn/.github/workflows/go.yml
2023-06-03 22:30:53 +03:00

29 lines
442 B
YAML

name: Go Build
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.20
- name: Install external dependencies
run: go mod download
- name: Build
run: go build -o go-cdn