Skip to content
Merged
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
13 changes: 6 additions & 7 deletions .github/workflows/constraints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,18 @@ on:
jobs:
constraints:
runs-on: ubuntu-latest
# This must be the same image as the one the ODK is built on.
container: ubuntu:24.04
strategy:
max-parallel: 1
steps:
- name: Install Required Packages
run: |
apt-get update
apt-get install -y --no-install-recommends git ca-certificates
- name: Check Docker version
# This is to fail early in case docker is not available on the base image..
run: docker --version
- name: Checkout main branch
uses: actions/checkout@v4
- name: Build constraints.txt
run: sh update-constraints.sh --in-docker
run: |
docker run --rm -v ${{ github.workspace }}:/workspace -w /workspace ubuntu:24.04 \
sh update-constraints.sh --in-docker
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
if: ${{ success() }}
Expand Down