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 21, 2023
1 parent e57d909 commit 52a092f
Show file tree
Hide file tree
Showing 66 changed files with 2,327 additions and 2,005 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 @@ -377,7 +377,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 @@ -448,7 +448,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 @@ -479,7 +479,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
23 changes: 22 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ linters:
- nakedret
- nestif
- noctx
- nolintlint
- prealloc
- rowserrcheck
- staticcheck
Expand All @@ -56,3 +55,25 @@ linters-settings:
govet:
# Enabled checking for shadowed variables.
check-shadowing: true
goimports:
# Put local imports after 3rd-party packages.
local-prefixes: github.com/oasisprotocol/
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
- github.com/shopspring/decimal
- github.com/golang/snappy
- github.com/stretchr/testify
Loading

0 comments on commit 52a092f

Please sign in to comment.