-
Notifications
You must be signed in to change notification settings - Fork 1
Feat/initial plugin system #58
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
Draft
dnitsch
wants to merge
6
commits into
master
Choose a base branch
from
feat/initial-plugin-system
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
c467ce9
BREAKING: add a parser (#54)
dnitsch 2584732
fix: experiment with WASI
dnitsch 6b8689c
fix: release container
dnitsch f0582ec
fix: interim goplugin from hashicorp
dnitsch 4f7aecc
fix: interim commit
dnitsch b1f3046
fix: plugin architecture working
dnitsch File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,9 +14,10 @@ permissions: | |
|
|
||
| jobs: | ||
| set-version: | ||
| name: Set Version | ||
| runs-on: ubuntu-latest | ||
| container: | ||
| image: mcr.microsoft.com/dotnet/sdk:6.0 | ||
| image: mcr.microsoft.com/dotnet/sdk:10.0 | ||
| outputs: | ||
| semVer: ${{ steps.gitversion.outputs.semVer }} | ||
| steps: | ||
|
|
@@ -30,11 +31,11 @@ jobs: | |
| git config user.email ${{ github.actor }}[email protected] | ||
| git config user.name ${{ github.actor }} | ||
| - name: Install GitVersion | ||
| uses: gittools/actions/gitversion/setup@v3.0.0 | ||
| uses: gittools/actions/gitversion/setup@v4.1.0 | ||
| with: | ||
| versionSpec: "5.x" | ||
| versionSpec: "6.x" | ||
| - name: Set SemVer Version | ||
| uses: gittools/actions/gitversion/execute@v3.0.0 | ||
| uses: gittools/actions/gitversion/execute@v4.1.0 | ||
| id: gitversion | ||
|
|
||
| - name: echo VERSIONS | ||
|
|
@@ -44,6 +45,7 @@ jobs: | |
|
|
||
| test: | ||
| runs-on: ubuntu-latest | ||
| name: Run Tests | ||
| needs: set-version | ||
| env: | ||
| SEMVER: ${{ needs.set-version.outputs.semVer }} | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,10 +14,11 @@ permissions: | |
|
|
||
| jobs: | ||
| set-version: | ||
| name: Set Version | ||
| runs-on: ubuntu-latest | ||
| if: ${{ github.event.workflow_run.head_branch == 'master' && github.event.workflow_run.conclusion == 'success' }} | ||
| container: | ||
| image: mcr.microsoft.com/dotnet/sdk:6.0 | ||
| image: mcr.microsoft.com/dotnet/sdk:10.0 | ||
| outputs: | ||
| semVer: ${{ steps.gitversion.outputs.semVer }} | ||
| steps: | ||
|
|
@@ -31,14 +32,15 @@ jobs: | |
| git config user.email ${{ github.actor }}[email protected] | ||
| git config user.name ${{ github.actor }} | ||
| - name: Install GitVersion | ||
| uses: gittools/actions/gitversion/setup@v3.0.0 | ||
| uses: gittools/actions/gitversion/setup@v4.1.0 | ||
| with: | ||
| versionSpec: '5.x' | ||
| versionSpec: '6.x' | ||
| - name: Set SemVer Version | ||
| uses: gittools/actions/gitversion/execute@v3.0.0 | ||
| uses: gittools/actions/gitversion/execute@v4.1.0 | ||
| id: gitversion | ||
|
|
||
| release: | ||
| name: Release | ||
| runs-on: ubuntu-latest | ||
| needs: set-version | ||
| env: | ||
|
|
@@ -66,7 +68,7 @@ jobs: | |
| generate_release_notes: true | ||
| token: ${{ secrets.GITHUB_TOKEN }} | ||
| files: ./dist/* | ||
| prerelease: false | ||
| prerelease: true | ||
|
|
||
| - name: release library | ||
| run: | | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,3 +16,4 @@ dist | |
|
|
||
| # local testers and | ||
| local/ | ||
| .bin | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| version: v2 | ||
| # this ensures we can store the .proto and generated files in the same directory | ||
| clean: false | ||
| plugins: | ||
| - remote: buf.build/protocolbuffers/go | ||
| out: plugins/proto | ||
| opt: | ||
| - paths=source_relative | ||
| - remote: buf.build/grpc/go:v1.3.0 | ||
| out: plugins/proto | ||
| opt: | ||
| - paths=source_relative | ||
| - require_unimplemented_servers=false | ||
| inputs: | ||
| - directory: plugins/proto |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| version: v2 | ||
| modules: | ||
| - path: ./plugins/proto | ||
| lint: | ||
| use: | ||
| - STANDARD | ||
| breaking: | ||
| use: | ||
| - FILE |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo here @ElvenSpellmaker