Skip to content

Commit

Permalink
PR build improvements
Browse files Browse the repository at this point in the history
- Update checkout, setup-python actions to latest versions
- Use head instead of cat so very long link reports don't fail the build
  with an 'Argument list too long' error
  • Loading branch information
mDuo13 committed Nov 23, 2022
1 parent 1d1c48c commit 567f044
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/link-checker-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: "3.9"

Expand Down Expand Up @@ -43,7 +43,7 @@ jobs:
run: |
sed -i '1,/---------------------------------------/d' linkreport.txt
echo 'LINKREPORT<<EOF' >> $GITHUB_ENV
cat linkreport.txt >> $GITHUB_ENV
head -c 65300 linkreport.txt >> $GITHUB_ENV
echo 'EOF' >> $GITHUB_ENV
cat linkreport.txt
Expand Down

0 comments on commit 567f044

Please sign in to comment.