Skip to content

Commit

Permalink
Bump Oasis Core to 23.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kostko committed Sep 18, 2023
1 parent b9bea98 commit 11ce8dd
Show file tree
Hide file tree
Showing 61 changed files with 2,167 additions and 1,887 deletions.
4 changes: 2 additions & 2 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@v4
with:
go-version: '1.20.x'
go-version: "1.21.x"

# Generate go.sum needed for linting.
- name: Generate go.sum
Expand All @@ -106,7 +106,7 @@ jobs:
uses: golangci/[email protected]
with:
# NOTE: The version must be specified without the patch version.
version: v1.51.2
version: v1.54.2
working-directory: examples/${{ matrix.example }}

- name: Build ${{ matrix.example }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/ci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '1.20.x'
go-version: "1.21.x"

- name: Lint Go client-sdk
uses: golangci/[email protected]
with:
# NOTE: The version must be specified without the patch version.
version: v1.51.2
version: v1.54.2
working-directory: client-sdk/go

lint-go-tests-e2e:
Expand Down Expand Up @@ -97,13 +97,13 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: "1.20.x"
go-version: "1.21.x"

- name: Lint E2E tests
uses: golangci/[email protected]
with:
# NOTE: The version must be specified without the patch version.
version: v1.51.2
version: v1.54.2
working-directory: tests/e2e

lint-go-reflect:
Expand All @@ -116,13 +116,13 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '1.20.x'
go-version: "1.21.x"

- name: Lint reflect-go
uses: golangci/[email protected]
with:
# NOTE: The version must be specified without the patch version.
version: v1.51.2
version: v1.54.2
working-directory: client-sdk/ts-web/core/reflect-go

lint-ts-web:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-longtest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
- name: Set up Rust
run: rustup show

- name: Set up Go 1.20
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.20.x"
go-version: "1.21.x"

- name: Install Oasis dependencies
run: |
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ci-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.20.x"
go-version: "1.21.x"

- name: Unit tests with coverage
working-directory: client-sdk/go
Expand All @@ -116,7 +116,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.20.x"
go-version: "1.21.x"

- name: Test build orc
working-directory: tools/orc
Expand Down Expand Up @@ -361,7 +361,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.20.x"
go-version: "1.21.x"

- name: Install Oasis dependencies
run: |
Expand Down Expand Up @@ -432,7 +432,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.20.x"
go-version: "1.21.x"

- name: Generate
working-directory: client-sdk/ts-web/core/reflect-go
Expand Down Expand Up @@ -463,7 +463,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.20.x"
go-version: "1.21.x"

- name: Install Oasis dependencies
run: |
Expand Down
19 changes: 19 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,22 @@ linters-settings:
govet:
# Enabled checking for shadowed variables.
check-shadowing: true
goimports:
# Put local imports after 3rd-party packages.
local-prefixes: github.com/oasisprotocol/oasis-core
gosec:
excludes:
# https://github.com/securego/gosec#available-rules
- G402
- G404
depguard:
rules:
main:
files:
- $all
allow:
- $gostd
- github.com/oasisprotocol
- github.com/btcsuite/btcd/btcec
- google.golang.org/grpc
- github.com/ethereum/go-ethereum
Loading

0 comments on commit 11ce8dd

Please sign in to comment.