From a0396231ec47f5544c8ce2f9213e90ec0734afd6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 22 Sep 2023 20:59:46 +0000 Subject: [PATCH] chore(deps): Bump actions/checkout from 3 to 4 (#1593) * chore(deps): Bump actions/checkout from 3 to 4 Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * chore(deps): Bump actions/checkout from 3 to 4 Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * chore(deps): change log --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Unique Divine <51418232+Unique-Divine@users.noreply.github.com> Co-authored-by: Unique-Divine --- .github/workflows/changelog-deps.yml | 2 +- .github/workflows/docker-publish.yml | 2 +- .github/workflows/e2e-wasm.yml | 2 +- .github/workflows/golangci-lint.yml | 2 +- .github/workflows/goreleaser.yml | 2 +- .github/workflows/integration-tests.yml | 2 +- .github/workflows/proto-lint.yml | 4 ++-- .github/workflows/sims.yml | 4 ++-- .github/workflows/skip-golangci-lint.yml | 17 +++++++++++++++++ .github/workflows/unit-tests.yml | 4 ++-- CHANGELOG.md | 4 ++-- 11 files changed, 31 insertions(+), 14 deletions(-) create mode 100644 .github/workflows/skip-golangci-lint.yml diff --git a/.github/workflows/changelog-deps.yml b/.github/workflows/changelog-deps.yml index 9cce12d2e..2df19e0d6 100644 --- a/.github/workflows/changelog-deps.yml +++ b/.github/workflows/changelog-deps.yml @@ -10,7 +10,7 @@ jobs: # TODO: feat: try to use author of the commit(s) to see if it's dependabot # ${{ any(contains(commit.author.username, 'dependabot') for commit in github.event.commits) }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: token: ${{ secrets.NIBIRU_PM }} # to avoid checking out the repo in a detached state diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 39c5e20af..3116b4337 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Get version id: get_version diff --git a/.github/workflows/e2e-wasm.yml b/.github/workflows/e2e-wasm.yml index 05d513292..867259ebb 100644 --- a/.github/workflows/e2e-wasm.yml +++ b/.github/workflows/e2e-wasm.yml @@ -14,7 +14,7 @@ jobs: get-release: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Download release diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 653bec0fa..6f2e55a76 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -21,7 +21,7 @@ jobs: name: lint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index 6c2bed735..aa6277004 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -19,7 +19,7 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index 764bfefb5..8fcd9c59f 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -19,7 +19,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 30 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Go uses: actions/setup-go@v4 diff --git a/.github/workflows/proto-lint.yml b/.github/workflows/proto-lint.yml index 18ce7a0a9..b266a763f 100644 --- a/.github/workflows/proto-lint.yml +++ b/.github/workflows/proto-lint.yml @@ -21,7 +21,7 @@ jobs: # runs-on: ubuntu-latest # timeout-minutes: 5 # steps: - # - uses: actions/checkout@v3 + # - uses: actions/checkout@v4 # - uses: bufbuild/buf-setup-action@v1.26.1 # - uses: bufbuild/buf-lint-action@v1 # with: @@ -30,7 +30,7 @@ jobs: break-check: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: bufbuild/buf-setup-action@v1.26.1 - uses: bufbuild/buf-breaking-action@v1 with: diff --git a/.github/workflows/sims.yml b/.github/workflows/sims.yml index 3d7d91a8e..afa2c6df0 100644 --- a/.github/workflows/sims.yml +++ b/.github/workflows/sims.yml @@ -8,7 +8,7 @@ jobs: install-runsim: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: go-version: 1.19 @@ -24,7 +24,7 @@ jobs: runs-on: ubuntu-latest needs: [install-runsim] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: technote-space/get-diff-action@v6 with: SUFFIX_FILTER: | diff --git a/.github/workflows/skip-golangci-lint.yml b/.github/workflows/skip-golangci-lint.yml new file mode 100644 index 000000000..5a2ef4476 --- /dev/null +++ b/.github/workflows/skip-golangci-lint.yml @@ -0,0 +1,17 @@ +name: Linter + +on: + pull_request: + # paths-ignore makes the action run when the given paths are unchanged + # See "Handling skipped but required checks" in + # https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks#handling-skipped-but-required-checks + paths-ignore: ["**.go", "**.proto", "go.mod", "go.sum"] + +jobs: + golangci: + name: lint + runs-on: ubuntu-latest + steps: + - name: skip-golangci + run: | + echo "job: golangci was skipped since Golang files were not changed." diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 53b562f06..c91bf48af 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -13,7 +13,7 @@ jobs: unit-tests: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Go uses: actions/setup-go@v4 @@ -27,7 +27,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Go uses: actions/setup-go@v4 diff --git a/CHANGELOG.md b/CHANGELOG.md index ee55fdacc..85f012612 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -232,13 +232,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Bump `google.golang.org/protobuf` from 1.30.0 to 1.31.0 (#1450) - Bump `cosmossdk.io/errors` from 1.0.0-beta.7 to 1.0.0 (#1499) - Bump `github.com/holiman/uint256` from 1.2.2 to 1.2.3 (#1504) -- Bump `actions/checkout` from 3 to 4 ([#1563](https://github.com/NibiruChain/nibiru/pull/1563)) - Bump `docker/build-push-action` from 4 to 5 ([#1572](https://github.com/NibiruChain/nibiru/pull/1572)) - Bump `docker/login-action` from 2 to 3 ([#1571](https://github.com/NibiruChain/nibiru/pull/1571)) - Bump `docker/setup-buildx-action` from 2 to 3 ([#1570](https://github.com/NibiruChain/nibiru/pull/1570)) - Bump `docker/setup-qemu-action` from 2 to 3 ([#1569](https://github.com/NibiruChain/nibiru/pull/1569)) - Bump `github.com/cosmos/cosmos-sdk` from v0.47.4 to v0.47.5 ([#1578](https://github.com/NibiruChain/nibiru/pull/1578)) - Bump `codecov/codecov-action` from 3 to 4 ([#1583](https://github.com/NibiruChain/nibiru/pull/1583)) +- Bump `actions/checkout` from 3 to 4 ([#1593](https://github.com/NibiruChain/nibiru/pull/1593)) ## [v0.19.2](https://github.com/NibiruChain/nibiru/releases/tag/v0.19.2) - 2023-02-24 @@ -645,4 +645,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Testing * [#695](https://github.com/NibiruChain/nibiru/pull/695) Add `OpenPosition` integration tests. -* [#692](https://github.com/NibiruChain/nibiru/pull/692) Add test coverage for Perp MsgServer methods. \ No newline at end of file +* [#692](https://github.com/NibiruChain/nibiru/pull/692) Add test coverage for Perp MsgServer methods.