diff --git a/.github/workflows/fpb-lint.yml b/.github/workflows/fpb-lint.yml index 38f7fc854..9a62fe5e1 100644 --- a/.github/workflows/fpb-lint.yml +++ b/.github/workflows/fpb-lint.yml @@ -10,7 +10,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Use Node.js - uses: actions/setup-node@v1 + uses: actions/setup-node@v2 with: node-version: '16.x' - run: npm install -g free-programming-books-lint diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 159f7e6de..20d998541 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,14 +4,14 @@ jobs: job: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 - uses: trilom/file-changes-action@v1.2.4 id: file_changes with: output: '' - uses: ruby/setup-ruby@v1 with: - ruby-version: 2.4.1 + ruby-version: 2.6 - 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 - uses: actions/upload-artifact@v2