]> git.openstreetmap.org Git - rails.git/blob - .github/workflows/devcontainer.yml
Limit push actions to the master branch
[rails.git] / .github / workflows / devcontainer.yml
1 name: Development Container
2
3 on:
4   push:
5     branches:
6       - master
7   pull_request:
8
9 concurrency:
10   group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
11   cancel-in-progress: true
12
13 jobs:
14   test:
15     runs-on: ubuntu-latest
16     steps:
17       - name: Checkout (GitHub)
18         uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
19       - name: Build and run dev container task
20         uses: devcontainers/ci@8bf61b26e9c3a98f69cb6ce2f88d24ff59b785c6 # v0.3.1900000417
21         with:
22           runCmd: bin/rails test:all