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
22 changes: 11 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
GH_TOKEN: ${{ github.token }}
steps:
- name: Checkout nns-dapp
uses: actions/checkout@v5
uses: actions/checkout@v6
- name: Skip build for testing
# Set to true and set a recent `run_id` below to reuse an existing build
# instead of building.
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
timeout-minutes: 30
steps:
- name: Checkout nns-dapp
uses: actions/checkout@v5
uses: actions/checkout@v6
- name: Run Playwright e2e test shard 1/2
uses: ./.github/actions/test-e2e
with:
Expand All @@ -92,7 +92,7 @@ jobs:
timeout-minutes: 30
steps:
- name: Checkout nns-dapp
uses: actions/checkout@v5
uses: actions/checkout@v6
- name: Run Playwright e2e test shard 2/2
uses: ./.github/actions/test-e2e
with:
Expand All @@ -104,7 +104,7 @@ jobs:
timeout-minutes: 40
steps:
- name: Checkout nns-dapp
uses: actions/checkout@v5
uses: actions/checkout@v6
- name: Get nns-dapp_test
# Note: This may be performed manually with ./scripts/docker-build --network local
uses: actions/download-artifact@v6
Expand All @@ -127,7 +127,7 @@ jobs:
timeout-minutes: 40
steps:
- name: Checkout nns-dapp
uses: actions/checkout@v5
uses: actions/checkout@v6
- name: Get nns-dapp_test
uses: actions/download-artifact@v6
with:
Expand Down Expand Up @@ -157,7 +157,7 @@ jobs:
timeout-minutes: 40
steps:
- name: Checkout nns-dapp
uses: actions/checkout@v5
uses: actions/checkout@v6
- name: Get nns-dapp_test
uses: actions/download-artifact@v6
with:
Expand All @@ -177,7 +177,7 @@ jobs:
timeout-minutes: 40
steps:
- name: Checkout nns-dapp
uses: actions/checkout@v5
uses: actions/checkout@v6
- name: Get nns-dapp
uses: actions/download-artifact@v6
with:
Expand Down Expand Up @@ -295,7 +295,7 @@ jobs:
timeout-minutes: 45
steps:
- name: Checkout nns-dapp
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Check dockerfile for changes
Expand Down Expand Up @@ -361,7 +361,7 @@ jobs:
timeout-minutes: 60
steps:
- name: Checkout nns-dapp
uses: actions/checkout@v5
uses: actions/checkout@v6
- name: Get sns_aggregator_dev
uses: actions/download-artifact@v6
with:
Expand Down Expand Up @@ -465,7 +465,7 @@ jobs:
needs: build
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Get docker build outputs
uses: actions/download-artifact@v6
with:
Expand Down Expand Up @@ -536,7 +536,7 @@ jobs:
if: ${{ always() }}
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- uses: ./.github/actions/needs_success
with:
needs: '${{ toJson(needs) }}'
34 changes: 17 additions & 17 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
DFX_NETWORK: mainnet
steps:
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@v6
- name: Get cargo sort version
run: jq -r '"CARGO_SORT_VERSION=\(.defaults.build.config.CARGO_SORT_VERSION)"' config.json >> $GITHUB_ENV
- name: Get node version
Expand Down Expand Up @@ -43,14 +43,14 @@ jobs:
DFX_NETWORK: mainnet
steps:
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@v6
- name: Checks for the presence of relative imports
run: ./scripts/check-relative-imports
spelling:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@v6
- name: Install spellcheck
run: |
sudo apt-get update
Expand All @@ -63,7 +63,7 @@ jobs:
cargo-tests:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- uses: actions/cache@v4
with:
path: |
Expand All @@ -85,7 +85,7 @@ jobs:
runs-on: ubuntu-latest-m
steps:
- name: Checkout nns-dapp
uses: actions/checkout@v5
uses: actions/checkout@v6
- name: Run vitest shard 1/2
uses: ./.github/actions/vitest
with:
Expand All @@ -95,7 +95,7 @@ jobs:
runs-on: ubuntu-latest-m
steps:
- name: Checkout nns-dapp
uses: actions/checkout@v5
uses: actions/checkout@v6
- name: Run vitest shard 2/2
uses: ./.github/actions/vitest
with:
Expand All @@ -110,7 +110,7 @@ jobs:
DFX_NETWORK: mainnet
steps:
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@v6
- name: Get node version
run: jq -r '"NODE_VERSION=\(.defaults.build.config.NODE_VERSION)"' config.json >> $GITHUB_ENV
- uses: actions/setup-node@v6
Expand All @@ -126,7 +126,7 @@ jobs:
name: ShellCheck
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Run ShellCheck
run: |
sudo apt-get update
Expand All @@ -136,7 +136,7 @@ jobs:
name: IC Commit
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Install didc
run: scripts/install-didc
- name: Check didc
Expand All @@ -160,7 +160,7 @@ jobs:
name: Release template
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Install didc
Expand All @@ -182,7 +182,7 @@ jobs:
name: Config is as expected
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Install dfx
uses: dfinity/setup-dfx@main
- name: Install cargo binstall
Expand All @@ -196,7 +196,7 @@ jobs:
name: Migration test utilities work
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Install cargo binstall
uses: ./.github/actions/install_binstall
- name: Install idl2json
Expand All @@ -211,7 +211,7 @@ jobs:
name: Can get NNS proposal args
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Install didc
run: scripts/install-didc
- name: Install cargo binstall
Expand All @@ -227,7 +227,7 @@ jobs:
minor-version-bump-works:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Install yq
run: sudo snap install yq
- name: Install sponge
Expand Down Expand Up @@ -259,7 +259,7 @@ jobs:
name: The nns-dapp npm and cargo versions should match
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Backend and frontend have the same version
run: |
backend_version="$(cargo metadata | jq -r '.packages[] | select(.name == "nns-dapp").version')"
Expand All @@ -280,7 +280,7 @@ jobs:
# Used by download-ci-wasm.test
GH_TOKEN: ${{ github.token }}
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Install tools on Linux
run: |
if command -v apt-get; then
Expand Down Expand Up @@ -364,7 +364,7 @@ jobs:
if: ${{ always() }}
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- uses: ./.github/actions/needs_success
with:
needs: "${{ toJson(needs) }}"
2 changes: 1 addition & 1 deletion .github/workflows/deploy-to-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
DFX_WARNING: -mainnet_plaintext_identity
steps:
- name: Checkout nns-dapp
uses: actions/checkout@v5
uses: actions/checkout@v6
# TODO: This builds, it doesn't use a release. We probably want at least the option of using releases.
- name: Get versions
id: tool_versions
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
builder:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
# We use `buildx` and its GitHub Actions caching support `type=gha`. For
# more information, see
# https://github.com/docker/build-push-action/issues/539
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@v6
- name: Preflight checks
id: preflight
run: |
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
if: ${{ always() }}
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- uses: ./.github/actions/needs_success
with:
needs: '${{ toJson(needs) }}'
4 changes: 2 additions & 2 deletions .github/workflows/reproducible.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- uses: docker-practice/actions-setup-docker@master
timeout-minutes: 12
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@v6
# Helps with debugging
- name: Show versions
run: |
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:
if: ${{ always() }}
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- uses: ./.github/actions/needs_success
with:
needs: '${{ toJson(needs) }}'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
if: github.event.pull_request.merged
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Tag main as tip
run: |
git tag -f tip
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-aggregator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
with:
app-id: ${{ vars.PR_AUTOMATION_BOT_PUBLIC_APP_ID }}
private-key: ${{ secrets.PR_AUTOMATION_BOT_PUBLIC_PRIVATE_KEY }}
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Install didc
run: scripts/install-didc
- name: Find newer IC release, if any
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-didc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
with:
app-id: ${{ vars.PR_AUTOMATION_BOT_PUBLIC_APP_ID }}
private-key: ${{ secrets.PR_AUTOMATION_BOT_PUBLIC_PRIVATE_KEY }}
- uses: actions/checkout@v5
- uses: actions/checkout@v6
# First, check `didc` releases (on the candid repo) for a new version.
- name: Check new didc version
id: update
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-ic-cargo-deps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
with:
app-id: ${{ vars.PR_AUTOMATION_BOT_PUBLIC_APP_ID }}
private-key: ${{ secrets.PR_AUTOMATION_BOT_PUBLIC_PRIVATE_KEY }}
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Find latest IC release
id: latest
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
with:
app-id: ${{ vars.PR_AUTOMATION_BOT_PUBLIC_APP_ID }}
private-key: ${{ secrets.PR_AUTOMATION_BOT_PUBLIC_PRIVATE_KEY }}
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Get node version
run: jq -r '"NODE_VERSION=\(.defaults.build.config.NODE_VERSION)"' config.json >> $GITHUB_ENV
- name: Set up Node.js
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-proposals.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
with:
app-id: ${{ vars.PR_AUTOMATION_BOT_PUBLIC_APP_ID }}
private-key: ${{ secrets.PR_AUTOMATION_BOT_PUBLIC_PRIVATE_KEY }}
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Install didc
run: scripts/install-didc
- name: Find newer IC release, if any
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
with:
app-id: ${{ vars.PR_AUTOMATION_BOT_PUBLIC_APP_ID }}
private-key: ${{ secrets.PR_AUTOMATION_BOT_PUBLIC_PRIVATE_KEY }}
- uses: actions/checkout@v5
- uses: actions/checkout@v6
# First, check rust GitHub releases for a new version. We assume that the
# latest version's tag name is the version.
- name: Install yq
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-sns-aggregator-response.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
with:
app-id: ${{ vars.PR_AUTOMATION_BOT_PUBLIC_APP_ID }}
private-key: ${{ secrets.PR_AUTOMATION_BOT_PUBLIC_PRIVATE_KEY }}
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Update the SNS aggregator response files
run: scripts/nns-dapp/replace-sns-aggregator-response.sh
- name: Get node version
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/update-snsdemo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
with:
app-id: ${{ vars.PR_AUTOMATION_BOT_PUBLIC_APP_ID }}
private-key: ${{ secrets.PR_AUTOMATION_BOT_PUBLIC_PRIVATE_KEY }}
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Update to match the snsdemo repo
id: update
run: |
Expand All @@ -38,7 +38,7 @@ jobs:
fi
} >> "$GITHUB_OUTPUT"
- name: Get snsdemo repo
uses: actions/checkout@v5
uses: actions/checkout@v6
if: ${{ steps.update.outputs.updated == '1' }}
with:
repository: "dfinity/snsdemo"
Expand Down
Loading