From 9a1144dcd7e0bb279d42ab0438632e76070a4259 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Mon, 27 Jan 2020 22:20:24 +0100 Subject: [PATCH] cpplint_modified_files.yml: Remove GH Actions workaround --- .github/workflows/cpplint_modified_files.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/cpplint_modified_files.yml b/.github/workflows/cpplint_modified_files.yml index d8fd59ad1..e77c46de3 100644 --- a/.github/workflows/cpplint_modified_files.yml +++ b/.github/workflows/cpplint_modified_files.yml @@ -11,11 +11,8 @@ jobs: cpplint_modified_files: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 - uses: actions/setup-python@v1 - - shell: python # Show the version of shell: python and then upgrade shell: python to Python 3.8 - run: import sys ; print("Python {}.{}.{}".format(*sys.version_info)) # Legacy Python :-( - - run: sudo update-alternatives --install /usr/bin/python python ${pythonLocation}/bin/python3.8 10 - run: python -m pip install cpplint - run: git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY - run: git diff origin/master --name-only > git_diff.txt