Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jidicula/clang-format-action
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v4.14.0
Choose a base ref
...
head repository: jidicula/clang-format-action
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v4.15.0
Choose a head ref
  • 10 commits
  • 3 files changed
  • 3 contributors

Commits on Dec 11, 2024

  1. build: bump docker/build-push-action from 6.9.0 to 6.10.0 (#225)

    dependabot[bot] authored Dec 11, 2024
    Copy the full SHA
    bbe2072 View commit details

Commits on Jan 21, 2025

  1. build: bump docker/build-push-action from 6.10.0 to 6.12.0 (#230)

    dependabot[bot] authored Jan 21, 2025
    Copy the full SHA
    a815d87 View commit details

Commits on Feb 1, 2025

  1. build: bump docker/build-push-action from 6.12.0 to 6.13.0 (#231)

    dependabot[bot] authored Feb 1, 2025
    Copy the full SHA
    fbe58bf View commit details

Commits on Mar 17, 2025

  1. build: bump docker/login-action from 3.3.0 to 3.4.0 (#238)

    dependabot[bot] authored Mar 17, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    06a6cbd View commit details
  2. build: bump docker/build-push-action from 6.13.0 to 6.15.0 (#233)

    dependabot[bot] authored Mar 17, 2025
    Copy the full SHA
    c981401 View commit details
  3. build: bump docker/metadata-action from 5.6.1 to 5.7.0 (#234)

    dependabot[bot] authored Mar 17, 2025
    Copy the full SHA
    1781d20 View commit details

Commits on Mar 19, 2025

  1. Add clang-format 20 image build (#239)

    offa authored Mar 19, 2025
    Copy the full SHA
    69a43b0 View commit details
  2. build: Fix Ubuntu distro for clang-format-20 (#240)

    jidicula authored Mar 19, 2025
    Copy the full SHA
    87adf5c View commit details
  3. Add clang-format 20 (#237)

    Co-authored-by: Johanan <git@johanan.dev>
    offa and jidicula authored Mar 19, 2025
    Copy the full SHA
    da40ba9 View commit details

Commits on Mar 20, 2025

  1. docs: Prepare for v4.15.0 (#241)

    jidicula authored Mar 20, 2025
    Copy the full SHA
    4726374 View commit details
Showing with 11 additions and 7 deletions.
  1. +5 −4 .github/workflows/clang-format-image.yml
  2. +2 −0 .github/workflows/tests.yml
  3. +4 −3 README.md
9 changes: 5 additions & 4 deletions .github/workflows/clang-format-image.yml
Original file line number Diff line number Diff line change
@@ -31,7 +31,8 @@ jobs:
fail-fast: false
matrix:
version-pair:
- {version: "19", ubuntu: "oracular"}
- {version: "20", ubuntu: "plucky"}
- {version: "19", ubuntu: "plucky"}
- {version: "18", ubuntu: "noble"}
- {version: "17", ubuntu: "noble"}
- {version: "16", ubuntu: "noble"}
@@ -56,18 +57,18 @@ jobs:
MAJOR_VERSION="${VERSION%%.*}"
echo "MAJOR_VERSION=$MAJOR_VERSION" >> "$GITHUB_ENV"
- name: Log in to the Container registry
uses: docker/login-action@v3.3.0
uses: docker/login-action@v3.4.0
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5.6.1
uses: docker/metadata-action@v5.7.0
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- name: Build and push Docker image
uses: docker/build-push-action@v6.9.0
uses: docker/build-push-action@v6.15.0
with:
context: .
file: "clang-format-docker/Dockerfile"
2 changes: 2 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -39,6 +39,7 @@ jobs:
- 17
- 18
- 19
- 20
steps:
- uses: actions/checkout@v4
- name: Build and test the Docker image
@@ -67,6 +68,7 @@ jobs:
- 17
- 18
- 19
- 20
path:
- check: 'test/known_fail'
exclude: 'capital'
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -26,6 +26,7 @@ You can define your own formatting rules in a `.clang-format` file at your repos
* 17: `clang-format-17`
* 18: `clang-format-18`
* 19: `clang-format-19`
* 20: `clang-format-20`

## Action version upgrade guarantee

@@ -103,7 +104,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Run clang-format style check for C/C++/Protobuf programs.
uses: jidicula/clang-format-action@v4.14.0
uses: jidicula/clang-format-action@v4.15.0
with:
clang-format-version: '13'
check-path: 'src'
@@ -128,7 +129,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Run clang-format style check for C/C++/Protobuf programs.
uses: jidicula/clang-format-action@v4.14.0
uses: jidicula/clang-format-action@v4.15.0
with:
clang-format-version: '13'
check-path: ${{ matrix.path }}
@@ -155,7 +156,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Run clang-format style check for C/C++/Protobuf programs.
uses: jidicula/clang-format-action@v4.14.0
uses: jidicula/clang-format-action@v4.15.0
with:
clang-format-version: '13'
check-path: ${{ matrix.path['check'] }}