Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
xBlaz3kx committed Sep 25, 2024
0 parents commit 5a22ab8
Show file tree
Hide file tree
Showing 16 changed files with 2,089 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @xBlaz3kx
19 changes: 19 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
assignees:
- "xBlaz3kx"
reviewers:
- "xBlaz3kx"

- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "weekly"
assignees:
- "xBlaz3kx"
reviewers:
- "xBlaz3kx"
32 changes: 32 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
## Proposed changes

Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request.
If it fixes a bug or resolves a feature request, be sure to link to that issue.

## Types of changes

What types of changes does your code introduce?
_Put an `x` in the boxes that apply_

- [ ] Bugfix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] Documentation Update (if none of the other choices apply)

## Checklist

_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
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
merging your code._

- [ ] I have read the [CONTRIBUTING](https://github.com/xBlaz3kx/ocppManager-go/blob/master/CONTRIBUTING.md) doc
- [ ] I have signed the CLA
- [ ] Lint and unit tests pass locally with my changes
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] I have added necessary documentation (if appropriate)
- [ ] Any dependent changes have been merged and published in downstream modules

## Further comments

If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you
did and what alternatives you considered, etc...
37 changes: 37 additions & 0 deletions .github/workflows/go.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: "Go"
on:
push:
branches:
- main
tags:
- v*
paths-ignore:
- "**.md"

pull_request:
types: [ opened, synchronize ]
paths-ignore:
- "**.md"

workflow_dispatch:

jobs:
fmt:
name: Format Go code
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/[email protected]

- name: Setup Go
uses: actions/[email protected]
with:
go-version: 1.20

- name: Download modules
run: |
cd 2.3.0
go mod download
- name: Format
run: go fmt ./2.3.0/...
31 changes: 31 additions & 0 deletions .github/workflows/validate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: "Validate OpenAPI specification"
on:
push:
branches:
- main
tags:
- v*
paths-ignore:
- "**.md"

pull_request:
types: [ opened, synchronize ]
paths-ignore:
- "**.md"

workflow_dispatch:


jobs:
validate-oicp-v230-specification:
name: "Validate the OICP 2.3.0 OpenAPI specification"
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Swagger Editor Validator
uses: char0n/[email protected]
with:
definition-file: ./2.3.0/api/2.3.0.spec.yml
Loading

0 comments on commit 5a22ab8

Please sign in to comment.