Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/attach-binaries-to-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
echo "walrus_version=${walrus_version}" >> $GITHUB_ENV

- name: Check out ${{ env.walrus_tag }}
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.2
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # pin@v7.0.0
with:
ref: ${{ env.walrus_tag }}

Expand Down Expand Up @@ -236,7 +236,7 @@ jobs:

- name: Setup sccache
if: ${{ !startsWith(matrix.os, 'ubuntu') && env.gcp_existing_archive == '' }}
uses: mozilla-actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad # pin@v0.0.9
uses: mozilla-actions/sccache-action@9e7fa8a12102821edf02ca5dbea1acd0f89a2696 # pin@v0.0.10

- name: Cargo build for ${{ matrix.os }} platform
if: ${{ !startsWith(matrix.os, 'ubuntu') && env.gcp_existing_archive == '' }}
Expand Down Expand Up @@ -274,15 +274,15 @@ jobs:
parent: false

- name: Upload release artifacts for ${{ matrix.os }} platform
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # pin@7.0.0
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # pin@7.0.1
with:
name: walrus-binaries-${{ matrix.os }}
if-no-files-found: error
path: |
./tmp/walrus-${{ env.walrus_tag }}-${{ env.os_type }}.tgz

- name: Attach artifacts to ${{ env.walrus_tag }} release in GH
uses: softprops/action-gh-release@a06a81a03ee405af7f2048a818ed3f03bbf83c7b # pin@v2.5.0
uses: softprops/action-gh-release@718ea10b132b3b2eba29c1007bb80653f286566b # pin@v3.0.1
with:
tag_name: ${{ env.walrus_tag }}
files: |
Expand Down
46 changes: 23 additions & 23 deletions .github/workflows/code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
isExampleConfig: ${{ steps.diff.outputs.isExampleConfig }}
isCLI: ${{ steps.diff.outputs.isCLI }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.2
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # pin@v7.0.0
- name: Detect Changes
uses: "./.github/actions/diffs"
id: diff
Expand All @@ -56,7 +56,7 @@ jobs:
if: ${{ needs.diff.outputs.isRust == 'true' || needs.diff.outputs.isDenyConfig == 'true' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.2
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # pin@v7.0.0
- uses: taiki-e/install-action@a2352fc6ce487f030a3aa709482d57823eadfb37 # pin@v2.75.16
with:
tool: cargo-deny@0.18.4
Expand All @@ -69,7 +69,7 @@ jobs:
if: ${{ needs.diff.outputs.isRust == 'true' }}
runs-on: ubuntu-ghcloud
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.2
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # pin@v7.0.0
- uses: ./.github/actions/sccache
with:
gcp_credentials_json: ${{ secrets.GCP_WALRUS_RELEASE_BUCKET_SVCUSER_CREDENTIALS }}
Expand All @@ -94,7 +94,7 @@ jobs:
OPENSSL_NO_VENDOR: "0"
runs-on: ubuntu-ghcloud
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.2
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # pin@v7.0.0
- uses: ./.github/actions/sccache
with:
gcp_credentials_json: ${{ secrets.GCP_WALRUS_RELEASE_BUCKET_SVCUSER_CREDENTIALS }}
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
- uses: taiki-e/install-action@a2352fc6ce487f030a3aa709482d57823eadfb37 # pin@v2.75.16
with:
tool: cargo-nextest
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.2
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # pin@v7.0.0
- uses: ./.github/actions/sccache
with:
gcp_credentials_json: ${{ secrets.GCP_WALRUS_RELEASE_BUCKET_SVCUSER_CREDENTIALS }}
Expand Down Expand Up @@ -166,7 +166,7 @@ jobs:
- uses: taiki-e/install-action@a2352fc6ce487f030a3aa709482d57823eadfb37 # pin@v2.75.16
with:
tool: cargo-nextest
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.2
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # pin@v7.0.0
- uses: ./.github/actions/sccache
with:
gcp_credentials_json: ${{ secrets.GCP_WALRUS_RELEASE_BUCKET_SVCUSER_CREDENTIALS }}
Expand All @@ -193,7 +193,7 @@ jobs:
- uses: taiki-e/install-action@a2352fc6ce487f030a3aa709482d57823eadfb37 # pin@v2.75.16
with:
tool: cargo-nextest
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.2
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # pin@v7.0.0
- uses: ./.github/actions/sccache
with:
gcp_credentials_json: ${{ secrets.GCP_WALRUS_RELEASE_BUCKET_SVCUSER_CREDENTIALS }}
Expand Down Expand Up @@ -223,7 +223,7 @@ jobs:
- uses: taiki-e/install-action@a2352fc6ce487f030a3aa709482d57823eadfb37 # pin@v2.75.16
with:
tool: cargo-nextest
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.2
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # pin@v7.0.0
- run: ./scripts/simtest/install.sh
- name: Build simtests
run: cargo simtest build
Expand All @@ -236,7 +236,7 @@ jobs:
env:
SUI_BIN: "/home/runner/.cargo/bin/sui"
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.2
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # pin@v7.0.0

- name: Get Sui tag
shell: bash
Expand All @@ -247,7 +247,7 @@ jobs:

- name: Restore cached sui binary
id: cache-sui-restore
uses: actions/cache/restore@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # pin@v5.0.3
uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # pin@v6.1.0
with:
path: ${{ env.SUI_BIN }}
key: ${{ runner.os }}-${{ runner.arch }}-${{ env.SUI_TAG }}
Expand All @@ -266,7 +266,7 @@ jobs:
run: bash ./scripts/move_tests.sh
- name: Cache sui binary
if: ${{ github.ref == 'refs/heads/main' && steps.cache-sui-restore.outputs.cache-hit != 'true' }}
uses: actions/cache/save@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # pin@v5.0.3
uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # pin@v6.1.0
with:
path: ${{ env.SUI_BIN }}
key: ${{ steps.cache-sui-restore.outputs.cache-primary-key }}
Expand All @@ -281,7 +281,7 @@ jobs:
env:
SUI_BIN: "/home/runner/.cargo/bin/sui"
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.2
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # pin@v7.0.0

- name: Get Sui tag
shell: bash
Expand All @@ -292,7 +292,7 @@ jobs:

- name: Restore cached sui binary
id: cache-sui-restore
uses: actions/cache/restore@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # pin@v5.0.3
uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # pin@v6.1.0
with:
path: ${{ env.SUI_BIN }}
key: ${{ runner.os }}-${{ runner.arch }}-${{ env.SUI_TAG }}
Expand All @@ -317,9 +317,9 @@ jobs:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.2
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # pin@v7.0.0
- name: Post a warning if the PR touches the testnet-contracts directory
uses: marocchino/sticky-pull-request-comment@70d2764d1a7d5d9560b100cbea0077fc8f633987 # pin@v3.0.2
uses: marocchino/sticky-pull-request-comment@0ea0beb66eb9baf113663a64ec522f60e49231c0 # pin@v3.0.4
with:
message: >
**Warning:** This PR touches the `testnet-contracts` directory. This should only be
Expand All @@ -335,9 +335,9 @@ jobs:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.2
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # pin@v7.0.0
- name: Post a warning if the PR touches the mainnet-contracts directory
uses: marocchino/sticky-pull-request-comment@70d2764d1a7d5d9560b100cbea0077fc8f633987 # pin@v3.0.2
uses: marocchino/sticky-pull-request-comment@0ea0beb66eb9baf113663a64ec522f60e49231c0 # pin@v3.0.4
with:
message: >
**Warning:** This PR touches the `mainnet-contracts` directory. This should only be
Expand All @@ -352,9 +352,9 @@ jobs:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.2
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # pin@v7.0.0
- name: Post a warning if the PR touches an example config file
uses: marocchino/sticky-pull-request-comment@70d2764d1a7d5d9560b100cbea0077fc8f633987 # pin@v3.0.2
uses: marocchino/sticky-pull-request-comment@0ea0beb66eb9baf113663a64ec522f60e49231c0 # pin@v3.0.4
with:
message: |
**Warning:** This PR modifies one of the example config files. Please consider the
Expand All @@ -378,9 +378,9 @@ jobs:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.2
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # pin@v7.0.0
- name: Post a warning if the PR modifies the Walrus CLI
uses: marocchino/sticky-pull-request-comment@70d2764d1a7d5d9560b100cbea0077fc8f633987 # pin@v3.0.2
uses: marocchino/sticky-pull-request-comment@0ea0beb66eb9baf113663a64ec522f60e49231c0 # pin@v3.0.4
with:
message: |
**Warning:** This PR modifies the Walrus CLI. Please consider the following:
Expand All @@ -402,9 +402,9 @@ jobs:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.2
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # pin@v7.0.0
- name: Post a warning if the PR touches an OpenAPI file
uses: marocchino/sticky-pull-request-comment@70d2764d1a7d5d9560b100cbea0077fc8f633987 # pin@v3.0.2
uses: marocchino/sticky-pull-request-comment@0ea0beb66eb9baf113663a64ec522f60e49231c0 # pin@v3.0.4
with:
message: |
**Warning:** This PR modifies one of the OpenAPI files. Please consider the
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/create-release-announce.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:

steps:
- name: Checkout walrus main branch
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.2
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # pin@v7.0.0
with:
fetch-depth: 0
ref: main
Expand All @@ -63,7 +63,7 @@ jobs:
echo "previous_release_branch=${previous_release_branch}" >> $GITHUB_ENV

- name: Checkout commit
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.2
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # pin@v7.0.0
with:
fetch-depth: 0
ref: ${{ inputs.walrus_commit }}
Expand Down Expand Up @@ -134,13 +134,13 @@ jobs:
https://api.github.com/repos/MystenLabs/walrus/commits/${{ env.CURRENT_BRANCH }} | jq .sha | tr -d '"')" >> $GITHUB_ENV

- name: Checkout main
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.2
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # pin@v7.0.0
with:
fetch-depth: 0
ref: main

- name: Setup Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # pin@v6.2.0
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # pin@v6.3.0
with:
python-version: 3.10.10

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/create-tx-for-multisig-node-governance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.2
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # pin@v7.0.0
with:
fetch-depth: 1
ref: ${{ inputs.commit }}
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
cat artifacts/tx-data.txt

- name: Upload Transaction Artifact
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # pin@v7.0.0
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # pin@v7.0.1
with:
name: transaction-data
path: artifacts/tx-data.txt
4 changes: 2 additions & 2 deletions .github/workflows/create-tx-for-multisig-subsidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
run: |
echo ${{ inputs.transaction_type }}

- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.2
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # pin@v7.0.0
with:
fetch-depth: 1
ref: ${{ inputs.commit }}
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
cat artifacts/tx-data.txt

- name: Upload Transaction Artifact
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # pin@v7.0.0
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # pin@v7.0.1
with:
name: transaction-data
path: artifacts/tx-data.txt
4 changes: 2 additions & 2 deletions .github/workflows/gen-sui-upgrade-version-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.2
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # pin@v7.0.0
with:
persist-credentials: false

Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:

- name: Generate automerge token
id: automerge_token
uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # pin@v2.2.1
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # pin@v3.2.0
with:
app-id: ${{ secrets.WALRUS_AUTOMERGE_APP_ID }}
private-key: ${{ secrets.WALRUS_AUTOMERGE_PRIVATE_KEY }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/issues-monitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Add Comment to New Issue
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # pin@v8.0.0
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # pin@v9.0.0
with:
script: |
github.rest.issues.createComment({
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
contents: read
pull-requests: read
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.2
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # pin@v7.0.0
with:
fetch-depth: 0
- name: Check PR title
Expand All @@ -25,9 +25,9 @@ jobs:
runs-on: ubuntu-latest
name: Check formatting
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.2
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # pin@v7.0.0
- name: Set up Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # pin@v6.2.0
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # pin@v6.3.0
with:
python-version: "3.x"

Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
run: ./yamlfmt -lint

- name: Lint all markdown files
uses: DavidAnson/markdownlint-cli2-action@07035fd053f7be764496c0f8d8f9f41f98305101 # pin@v22.0.0
uses: DavidAnson/markdownlint-cli2-action@ded1f9488f68a970bc66ea5619e13e9b52e601cd # pin@v23.2.0
with:
config: .markdownlint-cli2.yaml
# Note: Keep globs in sync with .markdownlint-cli2.yaml.
Expand All @@ -72,7 +72,7 @@ jobs:
run:
working-directory: ./contracts
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.2
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # pin@v7.0.0
- name: Use Node.js
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # pin@v6.3.0
- run: npm install @mysten/prettier-plugin-move@0.3.0
Expand All @@ -82,22 +82,22 @@ jobs:
runs-on: ubuntu-latest
name: Check spelling
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.2
- uses: crate-ci/typos@631208b7aac2daa8b707f55e7331f9112b0e062d # pin@v1.44.0
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # pin@v7.0.0
- uses: crate-ci/typos@37bb98842b0d8c4ffebdb75301a13db0267cef89 # pin@v1.47.2

shellcheck:
name: ShellCheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.2
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # pin@v7.0.0
- name: Run ShellCheck
run: find . -type f -name "*.sh" -exec shellcheck --severity=error {} +

license-headers:
runs-on: ubuntu-latest
name: Check license headers
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.2
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # pin@v7.0.0
- name: Install licensesnip
uses: taiki-e/install-action@a2352fc6ce487f030a3aa709482d57823eadfb37 # pin@v2.75.16
with:
Expand All @@ -108,9 +108,9 @@ jobs:
runs-on: ubuntu-latest
name: Check Network Reference is up to date
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.2
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # pin@v7.0.0
- name: Set up Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # pin@v6.2.0
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # pin@v6.3.0
with:
python-version: "3.x"
- name: Check for drift between the canonical sources and the page
Expand Down
Loading
Loading