.github/workflows/test.yml in lamby-4.1.0 vs .github/workflows/test.yml in lamby-4.1.1

- old
+ new

@@ -1,24 +1,34 @@ name: CI/CD on: [push] jobs: - test: - runs-on: ubuntu-latest + image: + name: Image + runs-on: ubuntu-20.04 steps: - - name: Checkout - uses: actions/checkout@v2 - - name: Login to GitHub Container Registry - uses: docker/login-action@v2 + - uses: actions/checkout@v3 + - uses: docker/login-action@v2 with: registry: ghcr.io username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Build & Run Development Container - uses: devcontainers/ci@v0.2 + - uses: devcontainers/ci@v0.3 with: push: always - imageName: ghcr.io/customink/lamby-devcontainer - cacheFrom: ghcr.io/customink/lamby-devcontainer + imageName: ghcr.io/rails-lambda/lamby-devcontainer + cacheFrom: ghcr.io/rails-lambda/lamby-devcontainer + runCmd: echo DONE! + test: + runs-on: ubuntu-20.04 + needs: image + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Setup & Test + uses: devcontainers/ci@v0.3 + with: + push: never + cacheFrom: ghcr.io/rails-lambda/lamby-devcontainer env: | CI runCmd: | ./bin/setup ./bin/test