This repository has been archived by the owner on Dec 13, 2024. It is now read-only.
Merge pull request #27 from p-society/dev/app #16
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: BUILD_BASKETBALL_API | |
on: | |
push: | |
branches: | |
- api/basketball | |
- 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.21.4 | |
- name: Update & Download Deps | |
run: | | |
cd src/api/basketball | |
go mod tidy | |
- name: Build API | |
run: go build -C src/api/basketball/ -o basketball_gcsb | |