Skip to content

Commit

Permalink
github: add Go 1.15.x to build/test jobs (peak#240)
Browse files Browse the repository at this point in the history
  • Loading branch information
igungor committed Oct 31, 2020
1 parent 0aa49cb commit 5765b01
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 10 deletions.
25 changes: 18 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ jobs:
strategy:
matrix:
go-version:
- 1.14.4
- 1.13.12
- 1.15.x
- 1.14.x
- 1.13.x
os:
- macos
- ubuntu
Expand All @@ -20,34 +21,44 @@ jobs:
with:
go-version: ${{ matrix.go-version }}

- run: go build -mod=vendor .
- run: make build

test:
strategy:
matrix:
go-version:
- 1.15.x
- 1.14.x
- 1.13.x
os:
- macos
- ubuntu
- windows

name: test (${{ matrix.os }}/go-${{ matrix.go-version }})
runs-on: ${{ matrix.os }}-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: 1.14.4
go-version: ${{ matrix.go-version }}

- run: make test

qa:
runs-on: ubuntu-latest
strategy:
matrix:
go-version:
- 1.15.x
os:
- ubuntu

runs-on: ${{ matrix.os }}-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: 1.14.4
go-version: ${{ matrix.go-version }}

- run: make check-fmt
- run: make vet
Expand Down
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
before:
hooks:
#- make
- make
builds:
-
binary: s5cmd
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Go Report](https://goreportcard.com/badge/github.com/peak/s5cmd)](https://goreportcard.com/report/github.com/peak/s5cmd)
[![Go Report](https://goreportcard.com/badge/github.com/peak/s5cmd)](https://goreportcard.com/report/github.com/peak/s5cmd) ![Github Actions Status](https://github.com/peak/s5cmd/workflows/CI/badge.svg)

# s5cmd

Expand Down Expand Up @@ -435,7 +435,6 @@ sends a separate delete request for each subcommand provided to `run.` Thus, the
significant runtime difference between those two approaches.



# LICENSE

MIT. See [LICENSE](https://github.com/peak/s5cmd/blob/master/LICENSE).

0 comments on commit 5765b01

Please sign in to comment.