Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

chore: add gh action for dev container builds #468

Merged
merged 4 commits into from
Dec 21, 2022
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
Expand Up @@ -37,5 +37,5 @@
"streetsidesoftware.code-spell-checker",
"vadimcn.vscode-lldb"
],
"postCreateCommand": "deno task star"
"postCreateCommand": "deno task codegen && deno task star"
}
13 changes: 13 additions & 0 deletions .github/workflows/dev-container.yml
Original file line number Diff line number Diff line change
@@ -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/[email protected]
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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 \
Expand Down