Skip to content

Commit

Permalink
merge classic-terra v2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tuky191 committed Nov 20, 2023
2 parents 59a5b74 + 72cee4c commit a3d9313
Show file tree
Hide file tree
Showing 496 changed files with 46,955 additions and 61,121 deletions.
10 changes: 10 additions & 0 deletions .github/dependabot.yml
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
9 changes: 5 additions & 4 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
- "**.go"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ci-${{ github.ref }}-codeql
cancel-in-progress: true

jobs:
Expand All @@ -26,10 +26,11 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
- uses: actions/setup-go@v3
uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: 1.18
go-version: "1.20"
check-latest: true
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
Expand Down
58 changes: 0 additions & 58 deletions .github/workflows/docker.yml

This file was deleted.

24 changes: 10 additions & 14 deletions .github/workflows/lint.yml
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 != ''"
8 changes: 4 additions & 4 deletions .github/workflows/release-sims.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,12 @@ jobs:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
strategy:
matrix:
build_type: ['build-linux']
build_type: ['build-release-arm64', 'build-release-amd64']
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set version tag
run: echo "VERSION=$(echo ${{github.ref_name}} | sed 's/^v//')" >> $GITHUB_ENV
- name: Create build directory
run: mkdir -p build/release
- name: Build ${{matrix.build_type}}
run: make ${{matrix.build_type}}
- name: Upload the artifacts to release
Expand All @@ -55,4 +53,8 @@ jobs:
- name: Display checksums
run: cat build/release/checksum.txt
- name: Upload the checksum to release
<<<<<<< HEAD
run: gh release upload ${{github.ref_name}} build/release/checksum.txt --repo ${{github.repository}}
=======
run: gh release upload ${{github.ref_name}} build/release/checksum.txt --repo ${{github.repository}}
>>>>>>> v2.3.0
67 changes: 38 additions & 29 deletions .github/workflows/sims.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
Loading

0 comments on commit a3d9313

Please sign in to comment.