go-peer/.github/workflows/build.yml
2026-07-19 19:32:19 +07:00

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