-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(.github/workflows): add mongo-test and nats-test workflows to ru…
…n tests on push and pull requests to main branch chore(go.mod): update nats.io/nats.go from v1.29.0 to v1.30.0 and klauspost/compress from v1.16.7 to v1.17.0 for latest features and fixes chore(go.mod): update nats-io/nkeys from v0.4.4 to v0.4.5 for latest features and fixes
- Loading branch information
Showing
4 changed files
with
47 additions
and
6 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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: MongoDB Test | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
|
||
jobs: | ||
test: | ||
runs-on: self-hosted | ||
timeout-minutes: 10 | ||
if: | | ||
!startsWith(github.event.head_commit.message, 'docs') && | ||
!contains(github.event.head_commit.message, 'skip ci') && | ||
!contains(github.event.head_commit.message, 'ci skip') | ||
steps: | ||
- name: Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
if: ${{ !env.ACT }} | ||
with: | ||
access_token: ${{ github.token }} | ||
|
||
- uses: actions/checkout@v2 | ||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: 1.21.0 | ||
|
||
- name: Test | ||
run: make mongo-test |
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
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