Skip to content

Commit

Permalink
Bump Oasis Core to 25.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kostko committed Feb 18, 2025
1 parent a9c4b65 commit 200622d
Show file tree
Hide file tree
Showing 36 changed files with 1,099 additions and 1,062 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.22.x"
go-version: "1.23.x"

# Generate go.sum needed for linting.
- name: Generate go.sum
Expand All @@ -103,10 +103,10 @@ jobs:

# NOTE: "file exists" tar errors can be safely ignored, because go is already installed.
- name: Lint ${{ matrix.example }}
uses: golangci/golangci-lint-action@v5.1.0
uses: golangci/golangci-lint-action@v6.5.0
with:
# NOTE: The version must be specified without the patch version.
version: v1.54.2
version: v1.63
working-directory: examples/${{ matrix.example }}

- name: Build ${{ matrix.example }}
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/ci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,13 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.22.x"
go-version: "1.23.x"

- name: Lint Go client-sdk
uses: golangci/golangci-lint-action@v5.1.0
uses: golangci/golangci-lint-action@v6.5.0
with:
# NOTE: The version must be specified without the patch version.
version: v1.54.2
version: v1.63
working-directory: client-sdk/go

lint-go-tests-e2e:
Expand All @@ -101,13 +101,13 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.22.x"
go-version: "1.23.x"

- name: Lint E2E tests
uses: golangci/golangci-lint-action@v5.1.0
uses: golangci/golangci-lint-action@v6.5.0
with:
# NOTE: The version must be specified without the patch version.
version: v1.56.1
version: v1.63
working-directory: tests/e2e

lint-go-reflect:
Expand All @@ -120,13 +120,13 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.22.x"
go-version: "1.23.x"

- name: Lint reflect-go
uses: golangci/golangci-lint-action@v5.1.0
uses: golangci/golangci-lint-action@v6.5.0
with:
# NOTE: The version must be specified without the patch version.
version: v1.56.1
version: v1.63
working-directory: client-sdk/ts-web/core/reflect-go

lint-ts-web:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-longtest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.22.x"
go-version: "1.23.x"

- name: Install Oasis dependencies
run: |
Expand Down
15 changes: 9 additions & 6 deletions .github/workflows/ci-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.22.x"
go-version: "1.23.x"

- name: Unit tests with coverage
working-directory: client-sdk/go
Expand All @@ -120,7 +120,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.22.x"
go-version: "1.23.x"

- name: Test build orc
working-directory: tools/orc
Expand Down Expand Up @@ -218,6 +218,9 @@ jobs:
working-directory: client-sdk/ts-web/core/playground
run: ./sample-run-envoy.sh &

- name: 'testnet: Install system packages'
run: sudo apt-get -y install bubblewrap

- name: 'testnet: Download artifacts'
working-directory: tests
run: ./download-artifacts.sh
Expand Down Expand Up @@ -303,7 +306,7 @@ jobs:
# Run all E2E tests in mock SGX.
OASIS_UNSAFE_SKIP_AVR_VERIFY: 1
OASIS_UNSAFE_ALLOW_DEBUG_ENCLAVES: 1
OASIS_UNSAFE_MOCK_SGX: 1
OASIS_UNSAFE_MOCK_TEE: 1
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down Expand Up @@ -405,7 +408,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.22.x"
go-version: "1.23.x"

- name: Install Oasis dependencies
run: |
Expand Down Expand Up @@ -484,7 +487,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.22.x"
go-version: "1.23.x"

- name: Generate
working-directory: client-sdk/ts-web/core/reflect-go
Expand Down Expand Up @@ -521,7 +524,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.22.x"
go-version: "1.23.x"

- name: Install Oasis dependencies
run: |
Expand Down
4 changes: 0 additions & 4 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ linters:
- dupl
- errcheck
- exhaustive
- exportloopref
- goconst
- gocritic
- gocyclo
Expand Down Expand Up @@ -52,9 +51,6 @@ linters-settings:
# Switch statements are to be considered exhaustive if a 'default' case is
# present, even if all enum members aren't listed in the switch.
default-signifies-exhaustive: true
govet:
# Enabled checking for shadowed variables.
check-shadowing: true
goimports:
# Put local imports after 3rd-party packages.
local-prefixes: github.com/oasisprotocol/
Expand Down
Loading

0 comments on commit 200622d

Please sign in to comment.