Skip to content

Add option to control which files are formatted via regex and switch … #60

Add option to control which files are formatted via regex and switch …

Add option to control which files are formatted via regex and switch … #60

Workflow file for this run

name: CI
on:
push:
pull_request:
branches:
- main
schedule:
- cron: "0 11 * * 2" # Every Tuesday at 11:00 UTC
jobs:
docker:
runs-on: ubuntu-latest
steps:
# Checkout repository code
- name: Checkout code
uses: actions/checkout@v4
# Gather Docker metadata
- name: Gather metadata
id: meta
uses: docker/metadata-action@v4
with:
images: PuneetMatharu/cmake-format
# Set up Docker Buildx
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
# Build and export Docker image
- name: Build and export Docker image
uses: docker/build-push-action@v4
with:
push: false # Don't push the image
load: true # Load the image into Docker daemon
tags: ${{ steps.meta.outputs.tags }} # Use metadata tags