Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
number571 committed Oct 25, 2024
1 parent c28ca8d commit 5f35a4f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 18 deletions.
21 changes: 7 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,18 @@ name: build

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

branches: ["master", "develop"]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: Applications installing...
run: sudo apt-get update && sudo apt-get install -y wget gcc make git
- name: Set up Go 1.23
uses: actions/setup-go@v2
- uses: actions/checkout@v4
- uses: actions/setup-go@v2
with:
go-version: 1.23.0
- name: Go-peer version
run: export PATH=$PATH:$(go env GOPATH)/bin && go version
- name: Go-peer downloading...
run: git clone --depth=1 https://github.com/number571/go-peer.git
- 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 -C go-peer
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 -C go-peer
run: export PATH=$PATH:$(go env GOPATH)/bin && make
8 changes: 4 additions & 4 deletions test/result/coverage.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5f35a4f

Please sign in to comment.