Compare commits

..

4 Commits

Author SHA1 Message Date
arnau
e2bae9a13c Merge pull request #669 from hermeznetwork/fix/mockserer
Fix mock server
2021-03-30 11:41:26 +02:00
Danilo Pantani
b8d339d568 Merge pull request #670 from hermeznetwork/fix/remove-release-os
fix the invalid goarch build
2021-03-26 16:16:29 -03:00
arnaubennassar
e52ba3d258 Fix mock server 2021-03-26 13:27:05 +01:00
Pantani
a1eea43443 fix the invalid goarch build and avoid calling the migration-pack each build 2021-03-24 10:41:32 -03:00
4 changed files with 20 additions and 11 deletions

View File

@@ -9,19 +9,18 @@ jobs:
goreleaser: goreleaser:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout -
name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Set up Go -
name: Set up Go
uses: actions/setup-go@v2 uses: actions/setup-go@v2
with: with:
go-version: 1.16 go-version: 1.16
- name: Get packr -
run: go get -u github.com/gobuffalo/packr name: Run GoReleaser
- name: Prepare
run: git reset --hard
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2 uses: goreleaser/goreleaser-action@v2
with: with:
version: latest version: latest

3
.gitignore vendored
View File

@@ -1 +1,2 @@
bin/ bin/
dist/

View File

@@ -1,6 +1,7 @@
before: before:
hooks: hooks:
- go mod download - go mod download
- make migration-pack
builds: builds:
- main: ./cli/node/main.go - main: ./cli/node/main.go
@@ -12,6 +13,14 @@ builds:
goarch: goarch:
- amd64 - amd64
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
checksum: checksum:
name_template: 'checksums.txt' name_template: 'checksums.txt'

View File

@@ -59,9 +59,9 @@ externalDocs:
description: Find out more about Hermez network. description: Find out more about Hermez network.
url: 'https://hermez.io' url: 'https://hermez.io'
servers: servers:
- description: Hosted mock up - description: Testnet api, connected to Rinkeby deployment
url: https://apimock.hermez.network/v1 url: https://api.testnet.hermez.io/v1
- description: Localhost mock Up - description: Localhost usefull for testing/developing the api
url: http://localhost:4010/v1 url: http://localhost:4010/v1
tags: tags:
- name: Coordinator - name: Coordinator