Skip to content

Commit

Permalink
Updating template (#23)
Browse files Browse the repository at this point in the history
Fix workflows to use GitHub runners
  • Loading branch information
rustydb authored Jun 24, 2022
1 parent e675ff9 commit a9cbcb3
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 18 deletions.
33 changes: 24 additions & 9 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
#### Summary and Scope
### Summary and Scope

<!--- Pick one below and delete the rest -->
<!--- Add the JIRA (WORD-NUMBER), or use a hyper-link ([WORD-NUMBER](https://jira-pro.its.hpecorp.net:8443/browse/WORD-NUMBER)). -->

- Fixes:
- Requires:
- Relates to:

- Fixes #
- Requires #
- Relates to #
#### Issue Type

##### Issue Type
<!--- Delete un-needed bullets -->

- Bugfix Pull Request
Expand All @@ -14,15 +17,27 @@

<!--- words; describe what this change is and what it is for. -->

#### Prerequisites
### Prerequisites

<!--- An empty check is two brackets with a space inbetween, a checked checkbox is two brackets with an x inbetween -->
<!--- unchecked checkbox: [ ] -->
<!--- checked checkbox: [x] -->
<!--- invalid checkbox: [] -->

- [ ] I have included documentation in my PR (or it is not required)
- [ ] I tested this on internal system (x) (if yes, please include results or a description of the test)
- [ ] I tested this on internal system (if yes, please include results or a description of the test)
- [ ] I tested this on a vshasta system (if yes, please include results or a description of the test)

#### Idempotency
### Idempotency

<!--- describe testing done to verify code changes behave in an idempotent manner -->

#### Risks and Mitigations
### Risks and Mitigations

<!--- What is less risky, or more risky now - or if your mod fails is there a new risk? -->
<!--- Example:
This introduces some risk since this change also brings in a newer version of X, but otherwise the original bugfix
is resolved and the overall risk of fatal failures is reduced.
-->
16 changes: 7 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,30 +29,28 @@ on:
- '*'
tags:
# semver tags:
- 'v[12].[0-9]+.[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+'
pull_request:
branches: [ main ]

jobs:

test:
name: Lint and Unit Tests
runs-on: redbull
runs-on: ubuntu-latest
steps:
- name: env
run: |
env
whoami
- uses: actions/checkout@v2

- name: Set up Go
uses: actions/setup-go@v2
- uses: actions/setup-go@v2
with:
go-version: 1.18

- name: Lint
run: |
make tools
make lint
- name: Test
run: make test
run: |
make test

0 comments on commit a9cbcb3

Please sign in to comment.