-
Notifications
You must be signed in to change notification settings - Fork 2
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
1 parent
e452936
commit ab29449
Showing
17 changed files
with
4,632 additions
and
823 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,30 @@ | ||
name: Dependent PRs | ||
|
||
on: | ||
issues: | ||
types: | ||
- opened | ||
- edited | ||
- reopened | ||
pull_request_target: | ||
types: | ||
- opened | ||
- edited | ||
- reopened | ||
- synchronize | ||
schedule: | ||
- cron: "0 0 * * *" | ||
|
||
jobs: | ||
check: | ||
name: Check | ||
runs-on: ubuntu-latest | ||
if: github.repository_owner == 'axiomhq' | ||
steps: | ||
- uses: z0al/dependent-issues@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ github.token }} | ||
GITHUB_READ_TOKEN: ${{ secrets.AXIOM_AUTOMATION_TOKEN }} | ||
with: | ||
label: dependent | ||
keywords: depends on, blocked by, needs |
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,48 @@ | ||
name: PR | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
lint: | ||
name: Lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v3 | ||
with: | ||
check-latest: true | ||
go-version-file: go.mod | ||
- uses: golangci/golangci-lint-action@v3 | ||
|
||
test: | ||
name: Test | ||
needs: lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v3 | ||
with: | ||
check-latest: true | ||
cache: true | ||
go-version-file: go.mod | ||
- run: make test | ||
|
||
build: | ||
name: Build | ||
needs: test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- uses: actions/setup-go@v3 | ||
with: | ||
check-latest: true | ||
cache: true | ||
go-version-file: go.mod | ||
- uses: goreleaser/goreleaser-action@v4 | ||
with: | ||
args: build --snapshot |
This file was deleted.
Oops, something went wrong.
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,54 @@ | ||
name: Push | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
lint: | ||
name: Lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v3 | ||
with: | ||
check-latest: true | ||
go-version-file: go.mod | ||
- uses: golangci/golangci-lint-action@v3 | ||
|
||
test: | ||
name: Test | ||
needs: lint | ||
strategy: | ||
matrix: | ||
os: | ||
- macos-latest | ||
- ubuntu-latest | ||
- windows-latest | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v3 | ||
with: | ||
check-latest: true | ||
cache: true | ||
go-version-file: go.mod | ||
- run: make test | ||
|
||
build: | ||
name: Build | ||
needs: test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- uses: actions/setup-go@v3 | ||
with: | ||
check-latest: true | ||
cache: true | ||
go-version-file: go.mod | ||
- uses: goreleaser/goreleaser-action@v4 | ||
with: | ||
args: build --snapshot |
This file was deleted.
Oops, something went wrong.
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
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.