From 641c9aac51287b36638ecf7c86f22a37deac3f3c Mon Sep 17 00:00:00 2001 From: Andrzej Warzynski Date: Sun, 19 Nov 2023 11:44:39 +0000 Subject: [PATCH] Fix status badge and update workflow files --- .github/workflows/x86-darwin-llvm-from-sources.yml | 2 +- .github/workflows/x86-darwin.yml | 2 +- .github/workflows/x86-ubuntu-llvm-from-sources.yml | 2 +- .github/workflows/x86-ubuntu.yml | 2 +- README.md | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/x86-darwin-llvm-from-sources.yml b/.github/workflows/x86-darwin-llvm-from-sources.yml index 65ad9cb..cb33607 100644 --- a/.github/workflows/x86-darwin-llvm-from-sources.yml +++ b/.github/workflows/x86-darwin-llvm-from-sources.yml @@ -9,7 +9,7 @@ jobs: build: runs-on: macos-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 - name: Download Ninja run: | git clone https://github.com/ninja-build/ninja.git diff --git a/.github/workflows/x86-darwin.yml b/.github/workflows/x86-darwin.yml index cf41fd5..8467ef3 100644 --- a/.github/workflows/x86-darwin.yml +++ b/.github/workflows/x86-darwin.yml @@ -15,7 +15,7 @@ jobs: matrix: type: [Debug, Release] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Unbreak Python in Github Actions # See: # * https://github.com/actions/runner-images/issues/2322 diff --git a/.github/workflows/x86-ubuntu-llvm-from-sources.yml b/.github/workflows/x86-ubuntu-llvm-from-sources.yml index c90fb21..79e9c3e 100644 --- a/.github/workflows/x86-ubuntu-llvm-from-sources.yml +++ b/.github/workflows/x86-ubuntu-llvm-from-sources.yml @@ -9,7 +9,7 @@ jobs: build: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 - name: Download Ninja run: | git clone https://github.com/ninja-build/ninja.git diff --git a/.github/workflows/x86-ubuntu.yml b/.github/workflows/x86-ubuntu.yml index a6c4241..873a01e 100644 --- a/.github/workflows/x86-ubuntu.yml +++ b/.github/workflows/x86-ubuntu.yml @@ -18,7 +18,7 @@ jobs: - { compiler: LLVM, CC: clang-10, CXX: clang++-10 } type: [Debug, Release] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Install Dependencies run: | wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - diff --git a/README.md b/README.md index 0d791e4..cefe037 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ clang-tutor ========= -[![Build Status](https://github.com/banach-space/clang-tutor/workflows/x86-Ubuntu/badge.svg?branch=main)](https://github.com/banach-space/clang-tutor/actions?query=workflow%3Ax86-Ubuntu+branch%3Amain) -[![Build Status](https://github.com/banach-space/clang-tutor/workflows/x86-Darwin/badge.svg?branch=main)](https://github.com/banach-space/clang-tutor/actions?query=workflow%3Ax86-Darwin+branch%3Amain) +[![x86-Ubuntu](https://github.com/banach-space/clang-tutor/actions/workflows/x86-ubuntu.yml/badge.svg)](https://github.com/banach-space/clang-tutor/actions/workflows/x86-ubuntu.yml) +[![x86-Darwin](https://github.com/banach-space/clang-tutor/actions/workflows/x86-darwin.yml/badge.svg)](https://github.com/banach-space/clang-tutor/actions/workflows/x86-darwin.yml) Example Clang plugins for C and C++ - based on **Clang 16**