forked from eoscanada/eos-go
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from ultraio/BLOCK-2107-merge-antelope-3.2
[BLOCK-2107] merge antelope 3.2
- Loading branch information
Showing
55 changed files
with
3,895 additions
and
414 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,17 @@ | ||
<!-- Optional --> | ||
## Background | ||
<!--- Why is this change required? What problem does it solve? --> | ||
<!--- If it fixes an open issue, please link to the issue here. --> | ||
|
||
## Summary | ||
<!--- Provide a summary of your changes. --> | ||
<!--- It's a good idea to include the issue you are trying to solve and how to fix it. --> | ||
|
||
## Note | ||
<!--- Add More if you need. --> | ||
|
||
## Checklist | ||
|
||
- [ ] Backward compatible? | ||
- [ ] Test enough in your local environment? | ||
- [ ] Add related test cases? |
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,55 @@ | ||
name: Build and Test | ||
|
||
on: | ||
push: | ||
branches: | ||
- develop | ||
pull_request: | ||
branches: | ||
- "**" | ||
|
||
jobs: | ||
test: | ||
name: Test | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
go-version: [1.17.x, 1.18.x, 1.19.x] | ||
os: [ubuntu-latest, macos-latest] | ||
steps: | ||
- name: Set up Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: ${{ matrix.go-version }} | ||
|
||
- name: Check out code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Cache Go modules | ||
uses: actions/cache@v2 | ||
with: | ||
# In order: | ||
# * Module download cache | ||
# * Build cache (Linux) | ||
# * Build cache (Mac) | ||
path: | | ||
~/go/pkg/mod | ||
~/.cache/go-build | ||
~/Library/Caches/go-build | ||
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | ||
restore-keys: | | ||
${{ runner.os }}-go- | ||
# Some of the parts in eos-go renders timezone specific dates and as such, | ||
# some of our golden files contains them. | ||
- name: Configure Timezone | ||
uses: szenius/[email protected] | ||
with: | ||
timezoneLinux: "America/New_York" | ||
timezoneMacos: "America/New_York" | ||
|
||
- name: Run Tests | ||
run: go test ./... | ||
|
||
- name: Build | ||
run: go build ./... |
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,5 @@ | ||
.envrc | ||
.idea | ||
.DS_Store | ||
.vscode | ||
/dist |
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,31 @@ | ||
project_name: eos-go | ||
|
||
env_files: | ||
github_token: ~/.config/goreleaser/github_token | ||
|
||
release: | ||
github: | ||
owner: eoscanada | ||
name: eos-go | ||
draft: true | ||
name_template: '{{.Tag}}' | ||
extra_files: | ||
- glob: ./release/**/* | ||
|
||
changelog: | ||
sort: asc | ||
filters: | ||
exclude: | ||
- '^docs:' | ||
- '^test:' | ||
|
||
builds: | ||
- skip: true | ||
|
||
archives: | ||
- files: | ||
- LICENSE | ||
- README.md | ||
|
||
snapshot: | ||
name_template: "{{ .Tag }}-next" |
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.