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

Commit

Permalink
chore: add gh action for dev container builds (#468)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanleecode authored Dec 21, 2022
1 parent 56f29cb commit 1a965b0
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
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

0 comments on commit 1a965b0

Please sign in to comment.