Update workflows version (#6682)

pull/6725/head
ImVector 3 years ago committed by GitHub
parent c72c0d50af
commit c4d9b4db81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .github/workflows/fpb-lint.yml
  2. 4
      .github/workflows/main.yml

@ -10,7 +10,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Use Node.js - name: Use Node.js
uses: actions/setup-node@v1 uses: actions/setup-node@v2
with: with:
node-version: '16.x' node-version: '16.x'
- run: npm install -g free-programming-books-lint - run: npm install -g free-programming-books-lint

@ -4,14 +4,14 @@ jobs:
job: job:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v2
- uses: trilom/file-changes-action@v1.2.4 - uses: trilom/file-changes-action@v1.2.4
id: file_changes id: file_changes
with: with:
output: '' output: ''
- uses: ruby/setup-ruby@v1 - uses: ruby/setup-ruby@v1
with: with:
ruby-version: 2.4.1 ruby-version: 2.6
- run: gem install awesome_bot - run: gem install awesome_bot
- run: for i in ${{ steps.file_changes.outputs.files_modified }}; do echo; echo "processing $i"; awesome_bot $i --allow-redirect --allow-dupe --allow-ssl || true; done - run: for i in ${{ steps.file_changes.outputs.files_modified }}; do echo; echo "processing $i"; awesome_bot $i --allow-redirect --allow-dupe --allow-ssl || true; done
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v2

Loading…
Cancel
Save