mirror of
https://github.com/elyby/accounts-profiles-endpoint.git
synced 2024-11-29 10:12:07 +05:30
Add GitHub Actions
This commit is contained in:
parent
940b077bd2
commit
87aa380a9d
22
.github/workflows/build.yml
vendored
Normal file
22
.github/workflows/build.yml
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
name: Build
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Go 1.21
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: 1.21
|
||||
cache-dependency-path: go.sum
|
||||
|
||||
- name: Install dependencies
|
||||
run: go get .
|
||||
|
||||
- name: Build
|
||||
run: go build ./...
|
Loading…
Reference in New Issue
Block a user