Skip to content

Commit

Permalink
fix: CI
Browse files Browse the repository at this point in the history
  • Loading branch information
owulveryck committed Jun 23, 2023
1 parent 4810c86 commit af671c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 26 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,6 @@ jobs:
with:
go-version: 1.20.4

- name: Install Protoc
uses: arduino/setup-protoc@v1

- name: Install the protoc-gen-gofast binary
run: go get github.com/gogo/protobuf/protoc-gen-gofast && go install github.com/gogo/protobuf/protoc-gen-gofast

- name: Generate certs
run: go generate ./...

- name: Build
run: go build -v ./...

Expand Down
19 changes: 2 additions & 17 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,33 +5,18 @@ before:
# You may remove this if you don't use go modules.
- go mod download
# you may remove this if you don't need go generate
- go get github.com/gogo/protobuf/protoc-gen-gofast
- go install github.com/gogo/protobuf/protoc-gen-gofast
- go generate ./...
builds:
- env:
- CGO_ENABLED=0
id: "Server"
main: ./server/.
binary: goMarkableStreamServer.arm
main: .
binary: goMarkableStream
goos:
- linux
goarch:
- arm
goarm:
- 7
- env:
- CGO_ENABLED=0
id: "Client"
main: ./client/.
binary: goMarkableClient
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
archives:
- name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
wrap_in_directory: true
Expand Down

0 comments on commit af671c6

Please sign in to comment.