catApi/.github/workflows/go.yml

28 lines
462 B
YAML
Raw Normal View History

2023-10-27 10:50:29 +03:00
name: Go
on:
push:
2025-02-09 11:45:04 +03:00
branches: ["v2"]
2023-10-27 10:50:29 +03:00
pull_request:
2025-02-09 11:45:04 +03:00
branches: ["v2"]
2023-10-27 10:50:29 +03:00
jobs:
build:
runs-on: ubuntu-latest
steps:
2025-02-09 11:45:04 +03:00
- uses: actions/checkout@v4
2023-10-27 10:50:29 +03:00
2025-02-09 11:45:04 +03:00
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.23"
2023-10-27 10:50:29 +03:00
2025-02-09 11:45:04 +03:00
- name: Build
2025-02-11 00:39:52 +03:00
run: go build -v .
2023-10-27 10:50:29 +03:00
2025-02-09 11:45:04 +03:00
- name: Upload a Build Artifact
2025-02-10 05:25:53 +03:00
uses: actions/upload-artifact@v4
2025-02-09 11:45:04 +03:00
with:
name: "catApi"
path: "catApi"