From e453cbc106e06967a8f96c6f7fab045d481ab9fd Mon Sep 17 00:00:00 2001 From: Jose Attento <65502562+jattento@users.noreply.github.com> Date: Thu, 23 Feb 2023 13:40:12 -0300 Subject: [PATCH] update ci to run tests with newer versions of go (#33) --- .github/workflows/go.yml | 16 ++++++++++++++++ .travis.yml | 24 ------------------------ README.md | 17 +++++++++-------- changelog.md | 3 +++ 4 files changed, 28 insertions(+), 32 deletions(-) delete mode 100644 .travis.yml diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 271b3e9..7763fdc 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -8,6 +8,22 @@ on: jobs: + build_19: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - name: Set up Go + uses: actions/setup-go@v3 + with: + go-version: 1.19 + + - name: Build + run: go build -v ./... + + - name: Test + run: go test -v ./... + build_18: runs-on: ubuntu-latest steps: diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index c07b896..0000000 --- a/.travis.yml +++ /dev/null @@ -1,24 +0,0 @@ -language: go - -go: - - 1.16.x - - 1.15.x - - 1.14.x - - 1.13.x - -install: true - -services: - - docker - -before_install: - - go get -t -v ./... - - curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.24.0 - -script: - - go test ./... -race -coverprofile=coverage.txt -covermode=atomic - - bash .ci/make.sh - - bash .ci/gofmt.sh - -after_success: - - bash <(curl -s https://codecov.io/bash) \ No newline at end of file diff --git a/README.md b/README.md index b59fcde..acea4aa 100644 --- a/README.md +++ b/README.md @@ -4,14 +4,15 @@ [![Last release](https://img.shields.io/github/v/release/jattento/go-iso8583?style=plastic)](https://github.com/jattento/go-iso8583/releases) -| Version | Build | -|---------|:-------------:| -| Go 1.18 |[![Build Status](https://travis-ci.com/jattento/go-iso8583.svg?branch=master)](https://travis-ci.com/jattento/go-iso8583)| -| Go 1.17 |[![Build Status](https://travis-ci.com/jattento/go-iso8583.svg?branch=master)](https://travis-ci.com/jattento/go-iso8583)| -| Go 1.16 |[![Build Status](https://travis-ci.com/jattento/go-iso8583.svg?branch=master)](https://travis-ci.com/jattento/go-iso8583)| -| Go 1.15 |[![Build Status](https://travis-ci.com/jattento/go-iso8583.svg?branch=master)](https://travis-ci.com/jattento/go-iso8583)| -| Go 1.14 |[![Build Status](https://travis-ci.com/jattento/go-iso8583.svg?branch=master)](https://travis-ci.com/jattento/go-iso8583)| -| Go 1.13 |[![Build Status](https://travis-ci.com/jattento/go-iso8583.svg?branch=master)](https://travis-ci.com/jattento/go-iso8583)| +| Version | Build | +|---------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------:| +| Go 1.19 | [![Build Status](https://github.com/jattento/go-iso8583/actions/workflows/go.yml/badge.svg)](https://github.com/jattento/go-iso8583/actions/workflows/go.yml) | +| Go 1.18 | [![Build Status](https://github.com/jattento/go-iso8583/actions/workflows/go.yml/badge.svg)](https://github.com/jattento/go-iso8583/actions/workflows/go.yml) | +| Go 1.17 | [![Build Status](https://github.com/jattento/go-iso8583/actions/workflows/go.yml/badge.svg)](https://github.com/jattento/go-iso8583/actions/workflows/go.yml) | +| Go 1.16 | [![Build Status](https://github.com/jattento/go-iso8583/actions/workflows/go.yml/badge.svg)](https://github.com/jattento/go-iso8583/actions/workflows/go.yml) | +| Go 1.15 | [![Build Status](https://github.com/jattento/go-iso8583/actions/workflows/go.yml/badge.svg)](https://github.com/jattento/go-iso8583/actions/workflows/go.yml) | +| Go 1.14 | [![Build Status](https://github.com/jattento/go-iso8583/actions/workflows/go.yml/badge.svg)](https://github.com/jattento/go-iso8583/actions/workflows/go.yml) | +| Go 1.13 | [![Build Status](https://github.com/jattento/go-iso8583/actions/workflows/go.yml/badge.svg)](https://github.com/jattento/go-iso8583/actions/workflows/go.yml) | # go-iso8583 diff --git a/changelog.md b/changelog.md index c454f7b..e249d54 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,8 @@ ## Changelog +### 1.1.2 - 28/8/2020 - Jose Attento (jose.attento@gmail.com) +- Modify CI files to include tests for newer versions of GO. + ### 1.1.1 - 28/8/2020 - Jose Attento (jose.attento@gmail.com) - Add a default of 64 value for bitmaps length, the value is assumed if no length is indicated.