[libcxx-commits] [libcxx] [libc++] Move the check-generated-files job to Github Actions (PR #68920)

via libcxx-commits libcxx-commits at lists.llvm.org
Thu Oct 12 11:53:23 PDT 2023


================
@@ -0,0 +1,29 @@
+name: "Check libc++ generated files"
+on:
+  pull_request_target:
+    paths:
+      - 'libcxx/**'
+permissions:
+  pull-requests: write
+
+jobs:
+  check_generated_files:
+    runs-on: ubuntu-latest
+    steps:
+      - name: Fetch LLVM sources
+        uses: actions/checkout at v4
+        with:
+          fetch-depth: 2
+
+      - name: Install clang-format
+        uses: aminya/setup-cpp at v1
+        with:
+          clangformat: 17.0.1
+
+      - name: Install Ninja
+        uses: seanmiddleditch/gha-setup-ninja at master
----------------
EricWF wrote:

Are we using these actions elsewhere? Because using random actions associated with the project might be a security risk?

https://github.com/llvm/llvm-project/pull/68920


More information about the libcxx-commits mailing list