-
Notifications
You must be signed in to change notification settings - Fork 286
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
496 changed files
with
46,955 additions
and
61,121 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,10 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: github-actions | ||
directory: "/" | ||
schedule: | ||
interval: weekly | ||
- package-ecosystem: gomod | ||
directory: "/" | ||
schedule: | ||
interval: daily |
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 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 |
---|---|---|
@@ -1,30 +1,26 @@ | ||
name: Lint | ||
# Lint runs golangci-lint over the entire Gaia repository | ||
# This workflow is run on every pull request and push to main | ||
# The `golangci` job will pass without running if no *.{go, mod, sum} files have been modified. | ||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
- master | ||
- "release/*" | ||
- "release/**" | ||
pull_request: | ||
permissions: | ||
contents: read | ||
jobs: | ||
golangci: | ||
name: golangci-lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: technote-space/get-diff-action@v4 | ||
- uses: actions/setup-go@v4 | ||
with: | ||
PATTERNS: | | ||
**/**.go | ||
go.mod | ||
go.sum | ||
- uses: golangci/golangci-lint-action@v3 | ||
go-version: "1.20" | ||
check-latest: true | ||
- uses: actions/checkout@v4 | ||
- name: golangci-lint | ||
uses: golangci/golangci-lint-action@v3 | ||
with: | ||
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version. | ||
version: v1.51.2 | ||
args: --timeout 10m | ||
github-token: ${{ secrets.github_token }} | ||
if: "env.GIT_DIFF != ''" |
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 |
---|---|---|
|
@@ -19,7 +19,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
if: "!contains(github.event.head_commit.message, 'skip-sims')" | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
- run: | | ||
make build | ||
|
@@ -30,7 +30,7 @@ jobs: | |
- name: install runsim | ||
run: | | ||
export GO111MODULE="on" && go get github.com/cosmos/tools/cmd/[email protected] | ||
- uses: actions/cache@v3.2.5 | ||
- uses: actions/cache@v3.3.2 | ||
with: | ||
path: ~/go/bin | ||
key: ${{ runner.os }}-go-runsim-binary | ||
|
@@ -39,8 +39,8 @@ jobs: | |
runs-on: ubuntu-latest | ||
needs: [build, install-runsim] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/cache@v3.2.5 | ||
- uses: actions/checkout@v4 | ||
- uses: actions/cache@v3.3.2 | ||
with: | ||
path: ~/go/bin | ||
key: ${{ runner.os }}-go-runsim-binary | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,9 +6,12 @@ on: | |
push: | ||
branches: | ||
- main | ||
- master | ||
- "release/*" | ||
|
||
- "release/**" | ||
permissions: | ||
contents: read | ||
concurrency: | ||
group: ci-${{ github.ref }}-sims | ||
cancel-in-progress: true | ||
jobs: | ||
cleanup-runs: | ||
runs-on: ubuntu-latest | ||
|
@@ -22,10 +25,11 @@ jobs: | |
runs-on: ubuntu-latest | ||
if: "!contains(github.event.head_commit.message, 'skip-sims')" | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v3.5.0 | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.18 | ||
go-version: "1.20" | ||
check-latest: true | ||
- name: Display go version | ||
run: go version | ||
- run: make build | ||
|
@@ -34,14 +38,15 @@ jobs: | |
runs-on: ubuntu-latest | ||
needs: build | ||
steps: | ||
- uses: actions/setup-go@v3.5.0 | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.18 | ||
go-version: "1.20" | ||
check-latest: true | ||
- name: Display go version | ||
run: go version | ||
- name: Install runsim | ||
run: export GO111MODULE="on" && go install github.com/cosmos/tools/cmd/[email protected] | ||
- uses: actions/cache@v3.2.5 | ||
- uses: actions/cache@v3.3.2 | ||
with: | ||
path: ~/go/bin | ||
key: ${{ runner.os }}-go-runsim-binary | ||
|
@@ -50,19 +55,20 @@ jobs: | |
runs-on: ubuntu-latest | ||
needs: [build, install-runsim] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v3.5.0 | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.18 | ||
go-version: "1.20" | ||
check-latest: true | ||
- name: Display go version | ||
run: go version | ||
- uses: technote-space/get-diff-action@v4 | ||
- uses: technote-space/get-diff-action@v6 | ||
with: | ||
PATTERNS: | | ||
**/**.go | ||
go.mod | ||
go.sum | ||
- uses: actions/cache@v3.2.5 | ||
- uses: actions/cache@v3.3.2 | ||
with: | ||
path: ~/go/bin | ||
key: ${{ runner.os }}-go-runsim-binary | ||
|
@@ -76,21 +82,22 @@ jobs: | |
runs-on: ubuntu-latest | ||
needs: [build, install-runsim] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v3.5.0 | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.18 | ||
go-version: "1.20" | ||
check-latest: true | ||
- name: Display go version | ||
run: go version | ||
- uses: technote-space/get-diff-action@v4 | ||
- uses: technote-space/get-diff-action@v6 | ||
with: | ||
SUFFIX_FILTER: | | ||
**/**.go | ||
go.mod | ||
go.sum | ||
SET_ENV_NAME_INSERTIONS: 1 | ||
SET_ENV_NAME_LINES: 1 | ||
- uses: actions/cache@v3.2.5 | ||
- uses: actions/cache@v3.3.2 | ||
with: | ||
path: ~/go/bin | ||
key: ${{ runner.os }}-go-runsim-binary | ||
|
@@ -104,21 +111,22 @@ jobs: | |
runs-on: ubuntu-latest | ||
needs: [build, install-runsim] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v3.5.0 | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.18 | ||
go-version: "1.20" | ||
check-latest: true | ||
- name: Display go version | ||
run: go version | ||
- uses: technote-space/get-diff-action@v4 | ||
- uses: technote-space/get-diff-action@v6 | ||
with: | ||
SUFFIX_FILTER: | | ||
**/**.go | ||
go.mod | ||
go.sum | ||
SET_ENV_NAME_INSERTIONS: 1 | ||
SET_ENV_NAME_LINES: 1 | ||
- uses: actions/cache@v3.2.5 | ||
- uses: actions/cache@v3.3.2 | ||
with: | ||
path: ~/go/bin | ||
key: ${{ runner.os }}-go-runsim-binary | ||
|
@@ -132,21 +140,22 @@ jobs: | |
runs-on: ubuntu-latest | ||
needs: [build, install-runsim] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v3.5.0 | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.18 | ||
go-version: "1.20" | ||
check-latest: true | ||
- name: Display go version | ||
run: go version | ||
- uses: technote-space/get-diff-action@v4 | ||
- uses: technote-space/get-diff-action@v6 | ||
with: | ||
SUFFIX_FILTER: | | ||
**/**.go | ||
go.mod | ||
go.sum | ||
SET_ENV_NAME_INSERTIONS: 1 | ||
SET_ENV_NAME_LINES: 1 | ||
- uses: actions/cache@v3.2.5 | ||
- uses: actions/cache@v3.3.2 | ||
with: | ||
path: ~/go/bin | ||
key: ${{ runner.os }}-go-runsim-binary | ||
|
Oops, something went wrong.