diff --git a/.github/release.yml b/.github/release.yml index 219005a..e875b71 100644 --- a/.github/release.yml +++ b/.github/release.yml @@ -1,3 +1,10 @@ +################################################################## +# IMPORTANT NOTE # +# # +# This file is synced with https://github.com/atomicgo/template # +# Please make changes there. # +################################################################## + changelog: exclude: labels: @@ -16,4 +23,5 @@ changelog: - fix - title: Other Changes labels: - - "*" \ No newline at end of file + - "*" + diff --git a/.github/workflows/atomicgo.yml b/.github/workflows/atomicgo.yml index 1a9de94..a82c51a 100644 --- a/.github/workflows/atomicgo.yml +++ b/.github/workflows/atomicgo.yml @@ -1,8 +1,15 @@ +################################################################## +# IMPORTANT NOTE # +# # +# This file is synced with https://github.com/atomicgo/template # +# Please make changes there. # +################################################################## + name: AtomicGo on: push: - branches: [ main ] + branches: [main] jobs: docs: diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index d258e38..cd98365 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -1,8 +1,15 @@ +################################################################## +# IMPORTANT NOTE # +# # +# This file is synced with https://github.com/atomicgo/template # +# Please make changes there. # +################################################################## + name: Go on: push: - branches: [ main ] + branches: [main] pull_request: jobs: @@ -11,7 +18,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ ubuntu-latest, windows-latest, macos-latest ] + os: [ubuntu-latest, windows-latest, macos-latest] steps: - name: Set up Go 1.x uses: actions/setup-go@v2 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index c9d1936..debf1ac 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,6 +1,13 @@ +################################################################## +# IMPORTANT NOTE # +# # +# This file is synced with https://github.com/atomicgo/template # +# Please make changes there. # +################################################################## + name: Code Analysis -on: [ push, pull_request ] +on: [push, pull_request] jobs: lint: @@ -12,7 +19,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v4 with: - go-version: 'stable' + go-version: "stable" - name: golangci-lint uses: golangci/golangci-lint-action@v3 diff --git a/.github/workflows/tweet-release.yml b/.github/workflows/tweet-release.yml index d5c8596..9d0ae84 100644 --- a/.github/workflows/tweet-release.yml +++ b/.github/workflows/tweet-release.yml @@ -1,3 +1,10 @@ +################################################################## +# IMPORTANT NOTE # +# # +# This file is synced with https://github.com/atomicgo/template # +# Please make changes there. # +################################################################## + name: Tweet release # Listen to the `release` event @@ -13,11 +20,12 @@ jobs: # We don't want to tweet if the repository is not a public one if: ${{ !github.event.repository.private }} with: - tweet-message: "New ${{ github.event.repository.name }} release: ${{ github.event.release.tag_name }}! 🎉 - - Try it out: ${{ github.event.release.html_url }} - - #go #golang #opensource #library #release #atomicgo" + tweet-message: + "New ${{ github.event.repository.name }} release: ${{ github.event.release.tag_name }}! 🎉 + + Try it out: ${{ github.event.release.html_url }} + + #go #golang #opensource #library #release #atomicgo" env: TWITTER_CONSUMER_API_KEY: ${{ secrets.TWITTER_CONSUMER_API_KEY }} TWITTER_CONSUMER_API_SECRET: ${{ secrets.TWITTER_CONSUMER_API_SECRET }} diff --git a/.golangci.yml b/.golangci.yml index bc4c2d7..ba7f903 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,3 +1,10 @@ +################################################################## +# IMPORTANT NOTE # +# # +# This file is synced with https://github.com/atomicgo/template # +# Please make changes there. # +################################################################## + run: # Timeout for analysis, e.g. 30s, 5m. # Default: 1m diff --git a/LICENSE b/LICENSE index b42989e..164477e 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2022 Marvin Wendt (MarvinJWendt) +Copyright (c) 2024 Marvin Wendt (aka. MarvinJWendt) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/Makefile b/Makefile index c198af3..98fbcb6 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,10 @@ +################################################################## +# IMPORTANT NOTE # +# # +# This file is synced with https://github.com/atomicgo/template # +# Please make changes there. # +################################################################## + test: @echo "# Running tests..." @go test -v ./...