Skip to content

Commit a8881aa

Browse files
authored
Merge pull request #30 from osspkg/develop
full refactoring
2 parents 16b49ef + 64b1490 commit a8881aa

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+1008
-1195
lines changed

.deb.yaml

Lines changed: 0 additions & 29 deletions
This file was deleted.

.github/dependabot.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
1-
# To get started with Dependabot version updates, you'll need to specify which
2-
# package ecosystems to update and where the package manifests are located.
3-
# Please see the documentation for all configuration options:
4-
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
51

62
version: 2
73
updates:
84
- package-ecosystem: "gomod" # See documentation for possible values
95
directory: "/" # Location of package manifests
106
schedule:
11-
interval: "daily"
7+
interval: "weekly"

.github/workflows/ci.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,25 @@
1+
12
name: CI
23

34
on:
45
push:
5-
branches: [master]
6+
branches: [ master ]
67
pull_request:
7-
branches: [master]
8+
branches: [ master ]
89

910
jobs:
1011
build:
1112
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
go: [ '1.20' ]
1216
steps:
13-
- uses: actions/checkout@v2
17+
- uses: actions/checkout@v3
1418

15-
- name: Set up Go
16-
uses: actions/setup-go@v2
19+
- name: Setup Go
20+
uses: actions/setup-go@v3
1721
with:
18-
go-version: 1.17
22+
go-version: ${{ matrix.go }}
1923

20-
- name: CI
21-
env:
22-
COVERALLS_TOKEN: ${{ secrets.COVERALLS_TOKEN }}
24+
- name: Run CI
2325
run: make ci

.github/workflows/codeql-analysis.yml

Lines changed: 0 additions & 72 deletions
This file was deleted.

.github/workflows/codeql.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
2+
name: "CodeQL"
3+
4+
on:
5+
push:
6+
branches: [ "master" ]
7+
pull_request:
8+
branches: [ "master" ]
9+
schedule:
10+
- cron: '16 8 * * 1'
11+
12+
jobs:
13+
analyze:
14+
name: Analyze
15+
runs-on: ubuntu-latest
16+
permissions:
17+
actions: read
18+
contents: read
19+
security-events: write
20+
21+
strategy:
22+
fail-fast: false
23+
matrix:
24+
language: [ 'go' ]
25+
26+
steps:
27+
- name: Checkout repository
28+
uses: actions/checkout@v3
29+
30+
- name: Initialize CodeQL
31+
uses: github/codeql-action/init@v2
32+
with:
33+
languages: ${{ matrix.language }}
34+
35+
- name: Perform CodeQL Analysis
36+
uses: github/codeql-action/analyze@v2
37+
with:
38+
category: "/language:${{matrix.language}}"

.github/workflows/deb.yml

Lines changed: 0 additions & 54 deletions
This file was deleted.

.gitignore

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,10 @@
66
*.out
77
*.lock
88
*.log
9+
*.dev.yaml
910

10-
.DS_Store
11-
.glide
11+
# vendor/
1212
.idea
1313
.vscode
14-
.tools
15-
vendor
16-
*.test
17-
18-
# Output of the go coverage tool, specifically when used with LiteIDE
19-
*.out
20-
21-
# Dependency directories (remove the comment below to include it)
22-
# vendor/
23-
/.idea
24-
/build/bin/*
25-
26-
*.log
27-
*.sqlite3
14+
.tools/
15+
build/

0 commit comments

Comments
 (0)