Skip to content

Faster CLDR lookup for po (#32) #176

Faster CLDR lookup for po (#32)

Faster CLDR lookup for po (#32) #176

Workflow file for this run

name: Test
on:
push:
tags:
- v*
branches:
- master
- main
pull_request:
jobs:
golangci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.21'
cache: false
- name: lint
uses: golangci/golangci-lint-action@v3
with:
version: latest
coverage:
name: 'Coverage'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: 'stable'
- name: Run coverage
run: go test -race -coverprofile=coverage.txt -covermode=atomic ./...
- name: Upload coverage to Codecov
run: bash <(curl -s https://codecov.io/bash)
test:
strategy:
matrix:
platform:
- ubuntu
- macOS
- windows
go:
- 19
- 20
- 21
name: '${{ matrix.platform }} | 1.${{ matrix.go }}.x'
runs-on: ${{ matrix.platform }}-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: 1.${{ matrix.go }}.x
- name: Build
run: go build -tags timetzdata -v ./...
- name: Test
run: go test -tags timetzdata -v ./...