From 61d86a719d525d92a8f2e88177727826016d8ffe Mon Sep 17 00:00:00 2001 From: Sam Harrison Date: Mon, 14 Nov 2022 13:00:23 -0600 Subject: [PATCH] chore: upgrade GitHub Actions dependencies Fixes warning: > Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. --- .github/workflows/pr-lint.yml | 10 ++++++++-- .github/workflows/test-and-deploy.yml | 6 +++--- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pr-lint.yml b/.github/workflows/pr-lint.yml index 2f5232b08..31520079c 100644 --- a/.github/workflows/pr-lint.yml +++ b/.github/workflows/pr-lint.yml @@ -8,8 +8,14 @@ jobs: name: Validate title runs-on: ubuntu-latest steps: - - uses: amannn/action-semantic-pull-request@v4 + - uses: amannn/action-semantic-pull-request@v5 with: - types: chore docs fix feat test misc + types: | + chore + docs + fix + feat + misc + test env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/test-and-deploy.yml b/.github/workflows/test-and-deploy.yml index 0b4d1b8c6..01a1ae3a7 100644 --- a/.github/workflows/test-and-deploy.yml +++ b/.github/workflows/test-and-deploy.yml @@ -20,7 +20,7 @@ jobs: ruby: [ '2.4', '2.5', '2.6', '2.7', '3.0', '3.1', 'ruby-head', 'jruby-9.2' ] steps: - name: Checkout twilio-ruby - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis @@ -65,7 +65,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout twilio-ruby - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 @@ -78,7 +78,7 @@ jobs: - run: bundle install - name: Login to Docker Hub - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_AUTH_TOKEN }}