mirror of
https://github.com/number571/go-peer.git
synced 2026-09-12 19:50:00 +05:00
20 lines
529 B
YAML
20 lines
529 B
YAML
name: build
|
|
|
|
on:
|
|
push:
|
|
branches: ["master", "develop"]
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-go@v2
|
|
with:
|
|
go-version: 1.25.0
|
|
- name: Applications installing...
|
|
run: sudo apt-get update && sudo apt-get install -y wget
|
|
- name: Go-peer deps installing...
|
|
run: export PATH=$PATH:$(go env GOPATH)/bin && make install-deps
|
|
- name: Go-peer lint/test running...
|
|
run: export PATH=$PATH:$(go env GOPATH)/bin && make
|