Skip to content

utils: support more formats for the parseDateTime function (#167) #26

utils: support more formats for the parseDateTime function (#167)

utils: support more formats for the parseDateTime function (#167) #26

Workflow file for this run

name: Lint
on:
workflow_call:
push:
paths:
- "**.go"
- "go.mod"
- "go.sum"
- ".github/workflows/*.yaml"
- "example/**"
jobs:
lint:
name: Run Go lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.21"
- name: Install dependencies
run: |
go get -t -v ./...
go install ./...
- name: Format
run: diff -u <(echo -n) <(gofmt -d -s .)
- name: Vet
run: go vet ./...
- name: Lint
uses: golangci/golangci-lint-action@v6
with:
version: latest
only-new-issues: true
skip-cache: true