Skip to content

Commit

Permalink
fix: gorelease config, update mods
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikubill committed Jan 2, 2021
1 parent 5cb6a46 commit f30a2da
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 11 deletions.
23 changes: 14 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,22 @@ jobs:
name: release
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v1

- name: validate
uses: docker://goreleaser/goreleaser:latest
-
name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0

-
name: Set up Go
uses: actions/setup-go@v2
with:
args: check
go-version: 1.15

- name: release
uses: docker://goreleaser/goreleaser:latest
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
args: release
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
module cowtransfer-uploader

go 1.14
go 1.15

require (
github.com/cheggaaa/pb/v3 v3.0.5
github.com/fatih/color v1.10.0 // indirect
github.com/jessevdk/go-flags v1.4.0 // indirect
github.com/mattn/go-runewidth v0.0.9 // indirect
github.com/orcaman/concurrent-map v0.0.0-20190826125027-8c72a8bb44f6
golang.org/x/sys v0.0.0-20201207223542-d4d67f95c62d // indirect
golang.org/x/sys v0.0.0-20201231184435-2d18734c6014 // indirect
)
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,5 @@ golang.org/x/sys v0.0.0-20201110211018-35f3e6cf4a65 h1:Qo9oJ566/Sq7N4hrGftVXs8GI
golang.org/x/sys v0.0.0-20201110211018-35f3e6cf4a65/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20201207223542-d4d67f95c62d h1:MiWWjyhUzZ+jvhZvloX6ZrUsdEghn8a64Upd8EMHglE=
golang.org/x/sys v0.0.0-20201207223542-d4d67f95c62d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20201231184435-2d18734c6014 h1:joucsQqXmyBVxViHCPFjG3hx8JzIFSaym3l3MM/Jsdg=
golang.org/x/sys v0.0.0-20201231184435-2d18734c6014/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=

0 comments on commit f30a2da

Please sign in to comment.