Skip to content

Commit

Permalink
Updated project to use sfreleaser and some maintenance (Go upgrade …
Browse files Browse the repository at this point in the history
…mainly)
  • Loading branch information
maoueh committed Oct 2, 2023
1 parent 0f7a4af commit 2f12be3
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 214 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/develop.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ on:

jobs:
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
matrix:
go: [ '1.16', '1.17' ]
go: [ '1.19', '1.20', '1.21' ]
name: Go ${{ matrix.go }} sample
steps:
- name: Setup go
Expand Down
85 changes: 0 additions & 85 deletions .goreleaser.yml

This file was deleted.

6 changes: 6 additions & 0 deletions .sfreleaser
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
global:
binary: zap-pretty
language: golang
variant: application
release:
brew-tap-repo: maoueh/zap-pretty
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Unreleased
## 0.4.0 (October 2nd, 2023)

- [Fix] Fix formatting when `timestamp` is unix timestamp and not string value
- [Fix] Fix formatting when `timestamp` is unix timestamp and not string value.

## 0.3.0 (April 21th, 2021)

Expand Down
122 changes: 0 additions & 122 deletions bin/release.sh

This file was deleted.

7 changes: 6 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
module github.com/maoueh/zap-pretty

go 1.16
go 1.18

require (
github.com/logrusorgru/aurora v0.0.0-20200102142835-e9ef32dff381
github.com/stretchr/testify v1.3.0
golang.org/x/sys v0.0.0-20200106162015-b016eb3dc98e
)

require (
github.com/davecgh/go-spew v1.1.0 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
)
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/logrusorgru/aurora v0.0.0-20181002194514-a7b3b318ed4e h1:9MlwzLdW7QSDrhDjFlsEYmxpFyIoXmYRon3dt0io31k=
github.com/logrusorgru/aurora v0.0.0-20181002194514-a7b3b318ed4e/go.mod h1:7rIyQOR62GCctdiQpZ/zOJlFyk6y+94wXzv6RNZgaR4=
github.com/logrusorgru/aurora v0.0.0-20200102142835-e9ef32dff381 h1:bqDmpDG49ZRnB5PcgP0RXtQvnMSgIF14M7CBd2shtXs=
github.com/logrusorgru/aurora v0.0.0-20200102142835-e9ef32dff381/go.mod h1:7rIyQOR62GCctdiQpZ/zOJlFyk6y+94wXzv6RNZgaR4=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
Expand Down

0 comments on commit 2f12be3

Please sign in to comment.