-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
2,183 additions
and
1,400 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
|
@@ -9,66 +9,87 @@ on: | |
- main | ||
|
||
jobs: | ||
test: | ||
name: Test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: actions/[email protected] | ||
with: | ||
go-version-file: go.mod | ||
cache: true | ||
- name: Run tests | ||
uses: dagger/dagger-for-github@v5 | ||
with: | ||
verb: call | ||
args: tests --dir . | ||
version: "0.11.0" | ||
examples: | ||
name: Examples | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: actions/[email protected] | ||
with: | ||
go-version-file: go.mod | ||
cache: true | ||
- name: Run examples | ||
uses: dagger/dagger-for-github@v5 | ||
with: | ||
verb: call | ||
args: examples --dir . | ||
version: "0.11.0" | ||
lint: | ||
name: Lint | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 5 | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: actions/[email protected] | ||
with: | ||
go-version-file: go.mod | ||
cache: true | ||
- name: Lint | ||
uses: dagger/dagger-for-github@v5 | ||
with: | ||
verb: call | ||
args: lint --dir . | ||
version: "0.11.0" | ||
# tests: | ||
# name: Tests | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - uses: actions/[email protected] | ||
# - uses: actions/[email protected] | ||
# with: | ||
# go-version-file: go.mod | ||
# cache: true | ||
# - name: Run tests | ||
# uses: dagger/dagger-for-github@v5 | ||
# with: | ||
# verb: call | ||
# args: tests --dir . | ||
# version: "0.11.0" | ||
|
||
# examples: | ||
# name: Examples | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - uses: actions/[email protected] | ||
# - uses: actions/[email protected] | ||
# with: | ||
# go-version-file: go.mod | ||
# cache: true | ||
# - name: Run examples | ||
# uses: dagger/dagger-for-github@v5 | ||
# with: | ||
# verb: call | ||
# args: examples --dir . | ||
# version: "0.11.0" | ||
|
||
# lint: | ||
# name: Lint | ||
# runs-on: ubuntu-latest | ||
# timeout-minutes: 5 | ||
# steps: | ||
# - uses: actions/[email protected] | ||
# - uses: actions/[email protected] | ||
# with: | ||
# go-version-file: go.mod | ||
# cache: true | ||
# - name: Lint | ||
# uses: dagger/dagger-for-github@v5 | ||
# with: | ||
# verb: call | ||
# args: lint --dir . | ||
# version: "0.11.0" | ||
|
||
# check-generation: | ||
# name: Check generation | ||
# runs-on: ubuntu-latest | ||
# timeout-minutes: 5 | ||
# steps: | ||
# - uses: actions/[email protected] | ||
# - uses: actions/[email protected] | ||
# with: | ||
# go-version-file: go.mod | ||
# cache: true | ||
# - name: Lint | ||
# uses: dagger/dagger-for-github@v5 | ||
# with: | ||
# verb: call | ||
# args: check-generation --dir . | ||
# version: "0.11.0" | ||
|
||
check-generation: | ||
name: Check generation | ||
publish: | ||
name: Publish asyncapi-codegen new version | ||
# needs: ["tests", "examples", "lint", "check-generation"] | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 5 | ||
# if: github.ref == 'refs/heads/main' | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: actions/[email protected] | ||
with: | ||
go-version-file: go.mod | ||
cache: true | ||
- name: Lint | ||
- name: Publish on git | ||
uses: dagger/dagger-for-github@v5 | ||
with: | ||
verb: call | ||
args: check-generation --dir . | ||
version: "0.11.0" | ||
args: publish --src-dir . --ssh-dir=~/.ssh | ||
version: "0.11.0" |
This file contains 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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
/dagger.gen.go linguist-generated | ||
/internal/dagger/** linguist-generated | ||
/internal/querybuilder/** linguist-generated | ||
/internal/telemetry/** linguist-generated |
This file contains 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,4 @@ | ||
/dagger.gen.go | ||
/internal/dagger | ||
/internal/querybuilder | ||
/internal/telemetry |
This file contains 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.