Skip to content

Commit

Permalink
build: Bump direct + selectively indirect (#806)
Browse files Browse the repository at this point in the history
* build: Bump minor direct where relevant

* Switch to ubuntu-latest where relevant

* Pin to ubuntu-24.04

* Modify runner's home directory permissions for interactive installer tests

* Bump singular direct

* Bump BDT-related

---------

Co-authored-by: Filip Djokic <[email protected]>
  • Loading branch information
Eengineer1 and filipdjokic authored Oct 18, 2024
1 parent 156d9e1 commit 124c09a
Show file tree
Hide file tree
Showing 12 changed files with 102 additions and 90 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:

build-binary:
name: "Node binary"
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v4

- uses: actions/setup-go@v5
with:
go-version-file: ./go.mod
Expand All @@ -39,7 +39,7 @@ jobs:

build-docker:
name: "Docker image"
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
needs: build-binary
env:
IMAGE_NAME: ${{ github.repository }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cleanup-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

delete-runs:
name: "Delete old workflow runs"
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- uses: Mattraks/delete-workflow-runs@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cleanup-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:

delete-caches:
name: "Delete Actions caches"
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- name: "Wipe Github Actions cache"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

codeql-analysis:
name: "CodeQL Analysis"
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
permissions:
actions: read
contents: read
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:

sh-euox-pipefail-check:
name: "Shell pipefail check"
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4

Expand All @@ -19,7 +19,7 @@ jobs:

md-link-check:
name: "Broken Markdown links"
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v4
Expand All @@ -34,7 +34,7 @@ jobs:
# We can't use VALIDATE_GO from super linter because of this issue:
# https://github.com/github/super-linter/issues/143
name: "Golang"
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v4
Expand All @@ -52,12 +52,12 @@ jobs:

proto-lint:
name: "Protobuf"
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4

# Install the `buf` CLI
- uses: bufbuild/buf-setup-action@v1.44.0
- uses: bufbuild/buf-setup-action@v1.45.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -75,7 +75,7 @@ jobs:

super-lint:
name: "Super Linter"
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ concurrency:
jobs:
lint-pr:
name: "PR format check"
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v4
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
# List of languages enabled is smaller than in lint workflow
super-lint:
name: "Super Linter"
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -43,7 +43,7 @@ jobs:

release-guard:
name: "Check release condition"
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
needs: super-lint
outputs:
RELEASE_VERSION: ${{ steps.set-version.outputs.RELEASE_VERSION }}
Expand Down Expand Up @@ -99,7 +99,7 @@ jobs:
release-binary:
name: "Node binary"
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
needs: [ super-lint, release-guard ]
# Only run if release-guard outputs EXECUTE_RELEASE=true
if: needs.release-guard.outputs.EXECUTE_RELEASE == 'true'
Expand All @@ -116,7 +116,7 @@ jobs:
cache: true

# Setup for pushing to Buf.build later
- uses: bufbuild/buf-setup-action@v1.44.0
- uses: bufbuild/buf-setup-action@v1.45.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -139,7 +139,7 @@ jobs:
release-docker:
name: "Docker image"
needs: [ super-lint, release-guard ]
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
# Only run if release-guard outputs EXECUTE_RELEASE=true
if: needs.release-guard.outputs.EXECUTE_RELEASE == 'true'
env:
Expand Down
18 changes: 12 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,17 @@ permissions:
jobs:
installer-cosmovisor:
name: "Installer - Cosmovisor mode"
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
env:
PYTHONDEVMODE: 1
DEFAULT_DEBUG_BRANCH: ${{ github.ref_name }}

steps:
- uses: actions/checkout@v4

- name: "Modify runner's home directory permissions"
run: "sudo chmod 755 /home/runner"

- name: "Fresh install with Cosmovisor"
working-directory: ./installer
run: |
Expand All @@ -44,13 +47,16 @@ jobs:

installer-standalone:
name: "Installer - Standalone mode"
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
env:
PYTHONDEVMODE: 1
DEFAULT_DEBUG_BRANCH: ${{ github.ref_name }}
steps:
- uses: actions/checkout@v4

- name: "Modify runner's home directory permissions"
run: "sudo chmod 755 /home/runner"

- name: "Fresh install"
working-directory: ./installer
run: |
Expand All @@ -73,7 +79,7 @@ jobs:

unit-tests:
name: "Unit Tests"
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v4
Expand All @@ -99,7 +105,7 @@ jobs:

integration-tests:
name: "Integration Tests"
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -166,7 +172,7 @@ jobs:

upgrade-tests:
name: "Upgrade Tests"
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -295,7 +301,7 @@ jobs:
report-results:
name: "Report"
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
# NOTE: If not next major release, only unit and integration tests are necessary, otherwise all tests are needed.
# needs: [unit-tests, integration-tests]
needs: [unit-tests, integration-tests, upgrade-tests]
Expand Down
6 changes: 3 additions & 3 deletions api/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ require (
github.com/gogo/protobuf v1.3.2 // indirect
github.com/google/go-cmp v0.6.0 // indirect
golang.org/x/exp v0.0.0-20240404231335-c0f41cb1a7a0 // indirect
golang.org/x/net v0.28.0 // indirect
golang.org/x/sys v0.23.0 // indirect
golang.org/x/text v0.17.0 // indirect
golang.org/x/net v0.30.0 // indirect
golang.org/x/sys v0.26.0 // indirect
golang.org/x/text v0.19.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240709173604-40e1e62336c5 // indirect
)
30 changes: 15 additions & 15 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,27 +14,28 @@ require (
github.com/cosmos/cosmos-sdk v0.47.13
github.com/cosmos/gogoproto v1.5.0
github.com/cosmos/ibc-go/v7 v7.4.0
github.com/gabriel-vasile/mimetype v1.4.3
github.com/gabriel-vasile/mimetype v1.4.6
github.com/go-ozzo/ozzo-validation/v4 v4.3.0
github.com/golang/protobuf v1.5.4
github.com/google/uuid v1.6.0
github.com/gorilla/mux v1.8.1
github.com/grpc-ecosystem/grpc-gateway v1.16.0
github.com/lestrrat-go/jwx v1.2.29
github.com/lestrrat-go/jwx v1.2.30
github.com/mr-tron/base58 v1.2.0
github.com/multiformats/go-multibase v0.2.0
github.com/onsi/ginkgo/v2 v2.17.3
github.com/onsi/gomega v1.33.1
github.com/onsi/ginkgo/v2 v2.20.2
github.com/onsi/gomega v1.34.2
github.com/osmosis-labs/fee-abstraction/v7 v7.0.2
github.com/rakyll/statik v0.1.7
github.com/skip-mev/feemarket v1.0.0-sdk47.0.20240822213759-ad21c7e69228
github.com/spf13/cast v1.6.0
github.com/spf13/cast v1.7.0
github.com/spf13/cobra v1.8.1
github.com/spf13/pflag v1.0.5
github.com/spf13/viper v1.19.0
github.com/stretchr/testify v1.9.0
google.golang.org/genproto/googleapis/api v0.0.0-20240610135401-a8a62080eff3
google.golang.org/grpc v1.65.0
google.golang.org/protobuf v1.34.2
)

require (
Expand Down Expand Up @@ -76,7 +77,7 @@ require (
github.com/creachadair/taskgroup v0.4.2 // indirect
github.com/danieljoos/wincred v1.1.2 // indirect
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0 // indirect
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.3.0 // indirect
github.com/desertbit/timer v0.0.0-20180107155436-c41aec40b27f // indirect
github.com/dgraph-io/badger/v2 v2.2007.4 // indirect
github.com/dgraph-io/ristretto v0.1.1 // indirect
Expand All @@ -92,7 +93,7 @@ require (
github.com/go-logr/logr v1.4.2 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/go-task/slim-sprig/v3 v3.0.0 // indirect
github.com/goccy/go-json v0.10.2 // indirect
github.com/goccy/go-json v0.10.3 // indirect
github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 // indirect
github.com/gogo/googleapis v1.4.1 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
Expand All @@ -103,7 +104,7 @@ require (
github.com/google/btree v1.1.2 // indirect
github.com/google/go-cmp v0.6.0 // indirect
github.com/google/orderedcode v0.0.1 // indirect
github.com/google/pprof v0.0.0-20240424215950-a892ee059fd6 // indirect
github.com/google/pprof v0.0.0-20240827171923-fa2c70bbbfe5 // indirect
github.com/google/s2a-go v0.1.7 // indirect
github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect
github.com/googleapis/gax-go/v2 v2.12.4 // indirect
Expand Down Expand Up @@ -186,20 +187,19 @@ require (
go.opentelemetry.io/otel/trace v1.24.0 // indirect
go.uber.org/multierr v1.10.0 // indirect
golang.org/x/arch v0.1.0 // indirect
golang.org/x/crypto v0.26.0 // indirect
golang.org/x/exp v0.0.0-20240404231335-c0f41cb1a7a0 // indirect
golang.org/x/net v0.28.0 // indirect
golang.org/x/crypto v0.28.0 // indirect
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 // indirect
golang.org/x/net v0.30.0 // indirect
golang.org/x/oauth2 v0.20.0 // indirect
golang.org/x/sync v0.8.0 // indirect
golang.org/x/sys v0.23.0 // indirect
golang.org/x/term v0.23.0 // indirect
golang.org/x/text v0.17.0 // indirect
golang.org/x/sys v0.26.0 // indirect
golang.org/x/term v0.25.0 // indirect
golang.org/x/text v0.19.0 // indirect
golang.org/x/time v0.5.0 // indirect
golang.org/x/tools v0.24.0 // indirect
google.golang.org/api v0.180.0 // indirect
google.golang.org/genproto v0.0.0-20240401170217-c3f982113cda // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240709173604-40e1e62336c5 // indirect
google.golang.org/protobuf v1.34.2 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
Expand Down
Loading

0 comments on commit 124c09a

Please sign in to comment.