Skip to content

Commit

Permalink
chore: updated template files
Browse files Browse the repository at this point in the history
  • Loading branch information
MarvinJWendt committed Jun 26, 2024
1 parent a62b93a commit b8ca0f7
Show file tree
Hide file tree
Showing 8 changed files with 63 additions and 12 deletions.
10 changes: 9 additions & 1 deletion .github/release.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
##################################################################
# IMPORTANT NOTE #
# #
# This file is synced with https://github.com/atomicgo/template #
# Please make changes there. #
##################################################################

changelog:
exclude:
labels:
Expand All @@ -16,4 +23,5 @@ changelog:
- fix
- title: Other Changes
labels:
- "*"
- "*"

9 changes: 8 additions & 1 deletion .github/workflows/atomicgo.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
11 changes: 9 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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
Expand Down
11 changes: 9 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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
Expand Down
18 changes: 13 additions & 5 deletions .github/workflows/tweet-release.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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 }}
Expand Down
7 changes: 7 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -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
Expand Down
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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 ./...
Expand Down

0 comments on commit b8ca0f7

Please sign in to comment.