mirror of
https://github.com/eduardolat/pgbackweb.git
synced 2026-01-26 14:39:24 -06:00
Add devcontainer configuration for CI and update lint-test-build workflow to use it
This commit is contained in:
5
.github/workflows/lint-test-build.yaml
vendored
5
.github/workflows/lint-test-build.yaml
vendored
@@ -18,7 +18,7 @@ jobs:
|
||||
{os: ubuntu-24.04, platform: linux/amd64},
|
||||
{os: ubuntu-24.04-arm, platform: linux/arm64}
|
||||
]
|
||||
|
||||
|
||||
name: Lint, test, and build the code
|
||||
runs-on: ${{ matrix.vars.os }}
|
||||
timeout-minutes: 20
|
||||
@@ -40,8 +40,9 @@ jobs:
|
||||
- name: Run lint, test, and build
|
||||
uses: devcontainers/ci@v0.3
|
||||
with:
|
||||
platform: ${{ matrix.vars.platform }}
|
||||
push: never
|
||||
configFile: .devcontainer/devcontainer-ci.json
|
||||
platform: ${{ matrix.vars.platform }}
|
||||
runCmd: >
|
||||
npm install && \
|
||||
go mod download && \
|
||||
|
||||
Reference in New Issue
Block a user