Skip to content

Commit 5a22ab8

Browse files
committed
Initial commit
0 parents  commit 5a22ab8

16 files changed

+2089
-0
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @xBlaz3kx

.github/dependabot.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
assignees:
8+
- "xBlaz3kx"
9+
reviewers:
10+
- "xBlaz3kx"
11+
12+
- package-ecosystem: "gomod"
13+
directory: "/"
14+
schedule:
15+
interval: "weekly"
16+
assignees:
17+
- "xBlaz3kx"
18+
reviewers:
19+
- "xBlaz3kx"

.github/pull_request_template.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
## Proposed changes
2+
3+
Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request.
4+
If it fixes a bug or resolves a feature request, be sure to link to that issue.
5+
6+
## Types of changes
7+
8+
What types of changes does your code introduce?
9+
_Put an `x` in the boxes that apply_
10+
11+
- [ ] Bugfix (non-breaking change which fixes an issue)
12+
- [ ] New feature (non-breaking change which adds functionality)
13+
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
14+
- [ ] Documentation Update (if none of the other choices apply)
15+
16+
## Checklist
17+
18+
_Put an `x` in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of
19+
them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before
20+
merging your code._
21+
22+
- [ ] I have read the [CONTRIBUTING](https://github.com/xBlaz3kx/ocppManager-go/blob/master/CONTRIBUTING.md) doc
23+
- [ ] I have signed the CLA
24+
- [ ] Lint and unit tests pass locally with my changes
25+
- [ ] I have added tests that prove my fix is effective or that my feature works
26+
- [ ] I have added necessary documentation (if appropriate)
27+
- [ ] Any dependent changes have been merged and published in downstream modules
28+
29+
## Further comments
30+
31+
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you
32+
did and what alternatives you considered, etc...

.github/workflows/go.yaml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: "Go"
2+
on:
3+
push:
4+
branches:
5+
- main
6+
tags:
7+
- v*
8+
paths-ignore:
9+
- "**.md"
10+
11+
pull_request:
12+
types: [ opened, synchronize ]
13+
paths-ignore:
14+
- "**.md"
15+
16+
workflow_dispatch:
17+
18+
jobs:
19+
fmt:
20+
name: Format Go code
21+
runs-on: ubuntu-latest
22+
steps:
23+
- name: Checkout code
24+
uses: actions/checkout@v4.1.7
25+
26+
- name: Setup Go
27+
uses: actions/setup-go@v5.0.2
28+
with:
29+
go-version: 1.20
30+
31+
- name: Download modules
32+
run: |
33+
cd 2.3.0
34+
go mod download
35+
36+
- name: Format
37+
run: go fmt ./2.3.0/...

.github/workflows/validate.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: "Validate OpenAPI specification"
2+
on:
3+
push:
4+
branches:
5+
- main
6+
tags:
7+
- v*
8+
paths-ignore:
9+
- "**.md"
10+
11+
pull_request:
12+
types: [ opened, synchronize ]
13+
paths-ignore:
14+
- "**.md"
15+
16+
workflow_dispatch:
17+
18+
19+
jobs:
20+
validate-oicp-v230-specification:
21+
name: "Validate the OICP 2.3.0 OpenAPI specification"
22+
runs-on: ubuntu-latest
23+
24+
steps:
25+
- name: Checkout
26+
uses: actions/checkout@v4
27+
28+
- name: Swagger Editor Validator
29+
uses: char0n/swagger-editor-validate@v1.3.2
30+
with:
31+
definition-file: ./2.3.0/api/2.3.0.spec.yml

0 commit comments

Comments
 (0)