This commit is contained in:
number571 2024-04-05 03:45:58 +07:00
parent df21e43bb5
commit 924a1a59e8
3 changed files with 22120 additions and 22122 deletions

View File

@ -13,18 +13,16 @@ jobs:
- name: Ubuntu updating...
run: sudo apt-get update
- name: Applications installing...
run: sudo apt-get install -y wget gcc make git
run: sudo apt-get install -y wget gcc make git snap
- name: Golang installing...
run: wget https://dl.google.com/go/go1.16.linux-amd64.tar.gz
- name: Golang unpacking...
run: sudo tar -C /opt -xzf go1.16.linux-amd64.tar.gz
- name: Environment setting...
run: export PATH="${PATH}:/opt/go/bin"
- name: Golangci installing...
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.57.2
- name: Update bashrc
run: source ~/.bashrc
- name: Go-peer installing...
run: sudo snap install golangci-lint
- name: Environment setting...
run: export PATH="${PATH}:/opt/go/bin" && export PATH="${PATH}:/snap/bin"
- name: Go-peer downloading...
run: git clone https://github.com/number571/go-peer.git
- name: Go-peer lint running...
run: make lint-run -C go-peer

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff