Skip to content

Commit

Permalink
Merge pull request #12 from hueristiq/dev
Browse files Browse the repository at this point in the history
Development v0.4.0
  • Loading branch information
enenumxela authored Oct 28, 2023
2 parents 0d96e50 + c9f60d7 commit e5bfad5
Show file tree
Hide file tree
Showing 58 changed files with 2,862 additions and 1,662 deletions.
28 changes: 28 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
name: Bug report
about: Create a report to help us improve
labels: 'Type: Bug'
---


<!-- ISSUES MISSING IMPORTANT INFORMATION MAY BE CLOSED WITHOUT INVESTIGATION. -->

### `xsubfind3r` version:
<!-- We only accept issues that are reproducible on the latest version of `xsubfind3r`. -->
<!-- You can find the latest version of project at https://github.com/hueristiq/xsubfind3r/releases/ -->

### Current Behavior:
<!-- A concise description of what you're experiencing. -->

### Expected Behavior:
<!-- A concise description of what you expected to happen. -->

### Steps To Reproduce:
<!--
Example: steps to reproduce the behavior:
1. Run 'xsubfind3r ..'
2. See error...
-->

### Anything else:
<!-- Links? References? Screnshots? Anything that will give us more context about the issue that you are encountering! -->
11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
name: Feature request
about: Request feature to implement in this project
labels: 'Type: Enhancement'
---

### Please describe your feature request:
<!-- A clear and concise description of feature to implement -->

### Describe the use case of this feature:
<!-- A clear and concise description of the feature request's motivation and the use-cases in which it could be useful. -->
8 changes: 4 additions & 4 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ jobs:
name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '>=1.20'
go-version: '>=1.21'
-
name: Checkout the code
uses: actions/checkout@v3
name: Checkout the repository
uses: actions/checkout@v4
with:
fetch-depth: 0
-
Expand All @@ -42,4 +42,4 @@ jobs:
-
name: Go build
run: go build -v .
working-directory: ./cmd/xsubfind3r
working-directory: ./cmd/xsubfind3r
46 changes: 46 additions & 0 deletions .github/workflows/codeql-analysis.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: 🚨 CodeQL Analysis

on:
push:
branches:
- "main"
paths:
- '**.go'
- '**.mod'
pull_request:
branches:
- "main"
paths:
- '**.go'
- '**.mod'
workflow_dispatch:

jobs:
analyze:
name: CodeQL Analysis
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'go' ]

steps:
-
name: Checkout repository
uses: actions/checkout@v4
-
name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
-
name: Autobuild
uses: github/codeql-action/autobuild@v2
-
name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
15 changes: 9 additions & 6 deletions .github/workflows/lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ on:
- '**.go'
- '**.mod'
workflow_dispatch:

permissions:
contents: read

jobs:
lint:
name: Lint Test
Expand All @@ -27,14 +27,17 @@ jobs:
name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '>=1.20'
go-version: '>=1.21'
cache: false
-
name: Checkout code
uses: actions/checkout@v3
name: Checkout the repository
uses: actions/checkout@v4
with:
fetch-depth: 0
-
name: Run golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.52.2
version: v1.54.2
args: --timeout 5m
working-directory: .
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
name: 🎉 release
name: 🎉 Release

on:
create:
push:
branches:
- main
tags:
- v*.*.*
workflow_dispatch:

jobs:
release:
Expand All @@ -16,22 +17,21 @@ jobs:
name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '>=1.20'
go-version: '>=1.21'
-
name: Checkout code
uses: actions/checkout@v3
name: Checkout the repository
uses: actions/checkout@v4
with:
fetch-depth: 0
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
args: "release --clean"
workdir: .
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
SLACK_WEBHOOK: "${{ secrets.SLACK_WEBHOOK }}"
DISCORD_WEBHOOK_ID: "${{ secrets.DISCORD_WEBHOOK_ID }}"
DISCORD_WEBHOOK_TOKEN: "${{ secrets.DISCORD_WEBHOOK_TOKEN }}"
6 changes: 1 addition & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
# Executable

cmd/xsubfind3r/xsubfind3r

# Notes

notes.txt
bin
Loading

0 comments on commit e5bfad5

Please sign in to comment.