Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ICP Examples (Motoko + Rust)",
"image": "ghcr.io/dfinity/icp-dev-env-all:v2.0.0",
"image": "ghcr.io/dfinity/icp-dev-env-all:v2.2.1",
"forwardPorts": [8000, 5173],
"portsAttributes": {
"8000": {
Expand Down
13 changes: 1 addition & 12 deletions .github/workflows/_run-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ on:
jobs:
run:
runs-on: ubuntu-24.04
container: ghcr.io/dfinity/icp-dev-env-${{ inputs.language }}:v2.0.0
container: ghcr.io/dfinity/icp-dev-env-${{ inputs.language }}:v2.2.1
env:
ICP_CLI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
Expand All @@ -60,17 +60,6 @@ jobs:
uses: dfinity/pocketic@a980c334fab1b21b0b8a6bba38e1a10836e7258b # main
with:
pocket-ic-server-version: ${{ inputs.pocketic-version }}
# Projects with more than one Motoko canister run one `mops build` per canister
# concurrently, and those invocations race on the shared moc toolchain download and
# extraction: whichever build loses reads a half-extracted moc and fails with no
# diagnostics. Warming the cache first makes the download happen exactly once.
# Remove once caffeinelabs/mops#818 is fixed and released.
- name: Warm the mops toolchain cache
working-directory: ${{ inputs.working-directory }}
run: |
if [ -f mops.toml ] && command -v mops > /dev/null; then
mops install
fi
- name: Run
working-directory: ${{ inputs.working-directory }}
run: ${{ inputs.run }}
Loading