Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/feature/time.Location' into feat…
Browse files Browse the repository at this point in the history
…ure/time.Location
  • Loading branch information
illiafox committed Oct 11, 2022
2 parents c823841 + c05f293 commit badbae6
Show file tree
Hide file tree
Showing 5 changed files with 81 additions and 119 deletions.
42 changes: 0 additions & 42 deletions .github/workflows/build.yml

This file was deleted.

35 changes: 35 additions & 0 deletions .github/workflows/coverage.yml
@@ -0,0 +1,35 @@
on:
push:
branches:
- 'master'
- 'develop'
pull_request:

jobs:
codecov:
name: codecov
runs-on: ubuntu-latest
steps:

- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: 1.19
cache: true
- name: Install dependencies
run: go get .

- name: Generate coverage report
run: |
go test `go list ./... | grep -v examples` -coverprofile=coverage.txt -covermode=atomic
- name: Upload coverage report
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.txt
flags: unittests
name: codecov-umbrella
77 changes: 0 additions & 77 deletions .github/workflows/pull_request.yml

This file was deleted.

40 changes: 40 additions & 0 deletions .github/workflows/test.yml
@@ -0,0 +1,40 @@
name: test

on:
push:
branches:
- 'master'
- 'develop'
tags:
- 'v*.*.*'
pull_request:

jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
go-version:
- '1.19'
- '1.18'
- '1.17'
- '1.16'
- '1.15'
- '1.14'
- '1.13'
os:
- ubuntu-latest
- macos-latest
- windows-latest
env:
GO111MODULE: 'on'
steps:
- uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- name: Install dependencies
run: go get .
- name: Test with the Go CLI
run: go test ./...
6 changes: 6 additions & 0 deletions README.md
Expand Up @@ -295,6 +295,12 @@ This code will try to read and parse the configuration file `config.yml` as the

For more details check the [example](/example) directory.

## Version Support Policy

We support the last 7 versions of Golang. E.g. if the current version is 1.19, we test compatibility with all versions from 1.19 to 1.13.

If you use an older version of Golang in your project, please use an older library version.

## Contribution

The tool is open-sourced under the [MIT](LICENSE) license.
Expand Down

0 comments on commit badbae6

Please sign in to comment.