Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hotfixes overlooked on first code upload #1

Merged
merged 3 commits into from
Nov 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ name: Build
on:
push:
branches:
- master
- main
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
branches:
- master
- main
permissions:
contents: read
jobs:
Expand Down
16 changes: 14 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,30 @@ name: Linting
on:
push:
branches:
- master
- main
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
branches:
- master
- main
permissions:
contents: read
jobs:
commitlint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: ${{ github.event.pull_request.commits }}
ref: ${{ github.event.pull_request.head.sha }}
- name: Commit-Lint
uses: bugbundle/commits@v1.1.0
id: commits
- run: echo ${{ steps.commits.outputs.major }}.${{ steps.commits.outputs.minor }}.${{ steps.commits.outputs.patch }}
golangci-lint:
runs-on: ubuntu-latest
steps:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Release
on:
on:
push:
tags:
- "v*"
tags:
- "v*"
permissions:
contents: read
jobs:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ name: Tests
on:
push:
branches:
- master
- main
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
branches:
- master
- main
permissions:
contents: read
jobs:
Expand Down
8 changes: 1 addition & 7 deletions internal/example/main.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
// SPDX-License-Identifier: BSD-3-Clause

package main

import "log"

func main() {
log.Println("Template")
}
package example
8 changes: 1 addition & 7 deletions pkg/example/main.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
// SPDX-License-Identifier: BSD-3-Clause

package main

import "log"

func main() {
log.Println("Template")
}
package example
Loading