drop 22.04 #18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| prek: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install uv and set the Python version | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| python-version: "3.14" | |
| - run: SKIP=no-commit-to-branch uvx prek run --all-files --show-diff-on-failure | |
| docker: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| ubuntu_version: | |
| - "24.04" | |
| steps: | |
| - name: Login to Docker Hub | |
| uses: docker/login-action@v4 | |
| with: | |
| username: ${{ secrets.DOCKERHUB_USERNAME }} | |
| password: ${{ secrets.DOCKERHUB_TOKEN }} | |
| scope: makeappdev/cpp-dev@push | |
| - name: Set up QEMU | |
| uses: docker/setup-qemu-action@v4 | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v4 | |
| - name: Validate build configuration | |
| uses: docker/build-push-action@v7 | |
| with: | |
| call: check | |
| build-args: | | |
| UBUNTU_VERSION=${{ matrix.ubuntu_version }} | |
| - name: Build and push | |
| uses: docker/build-push-action@v7 | |
| with: | |
| push: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} | |
| build-args: | | |
| UBUNTU_VERSION=${{ matrix.ubuntu_version }} | |
| tags: makeappdev/cpp-dev:${{ matrix.ubuntu_version }} |