Создал пробный сценарий сборки
This commit is contained in:
parent
492ddf74a1
commit
040825e251
1 changed files with 24 additions and 0 deletions
24
.github/workflows/go.yml
vendored
Normal file
24
.github/workflows/go.yml
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
# This workflow will build a golang project
|
||||
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
|
||||
|
||||
name: Компиляция проекта
|
||||
|
||||
on: release
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Установка Голанга
|
||||
uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: 1.19
|
||||
|
||||
- name: Установка зависимостей
|
||||
run: go get
|
||||
|
||||
- name: Компиляция
|
||||
run: go build -v ./...
|
Loading…
Add table
Reference in a new issue