From 1a965b076bc51d25d829e3e77920fbebdf3040db Mon Sep 17 00:00:00 2001 From: Ryan Lee Date: Wed, 21 Dec 2022 16:48:04 -0500 Subject: [PATCH] chore: add gh action for dev container builds (#468) --- .devcontainer/devcontainer.json | 2 +- .github/workflows/dev-container.yml | 13 +++++++++++++ Dockerfile | 4 ++-- 3 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/dev-container.yml diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index f26639426..1c38d750b 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -37,5 +37,5 @@ "streetsidesoftware.code-spell-checker", "vadimcn.vscode-lldb" ], - "postCreateCommand": "deno task star" + "postCreateCommand": "deno task codegen && deno task star" } diff --git a/.github/workflows/dev-container.yml b/.github/workflows/dev-container.yml new file mode 100644 index 000000000..72c31273a --- /dev/null +++ b/.github/workflows/dev-container.yml @@ -0,0 +1,13 @@ +name: Dev Container Builds +on: + - pull_request + - push +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout (GitHub) + uses: actions/checkout@v2 + + - name: Build and run Dev Container task + uses: devcontainers/ci@v0.2 diff --git a/Dockerfile b/Dockerfile index 5241c6e73..ec8399c31 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ -ARG DENO_VERSION=1.25.2 +ARG DENO_VERSION=1.29.1 FROM denoland/deno:${DENO_VERSION} as vscode -ARG POLKADOT_VERSION=v0.9.25 +ARG POLKADOT_VERSION=v0.9.31 RUN export DEBIAN_FRONTEND=noninteractive \ && apt-get update \