From fb3c37b11498149ef4bb9db41b95acbd3deae5ee Mon Sep 17 00:00:00 2001 From: ydah <13041216+ydah@users.noreply.github.com> Date: Sun, 30 Oct 2022 10:14:52 +0900 Subject: [PATCH] Update actions/checkout version to v3 The version 3.x appears to be due to the following: - https://github.com/actions/checkout/pull/689 There have been no breaking changes, and we seem to have no problem keeping up with the latest version. --- .github/workflows/linting.yml | 2 +- .github/workflows/main.yml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index adbb6c8f..05775309 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -6,7 +6,7 @@ jobs: name: Yamllint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Yamllint uses: karancode/yamllint-github-action@master with: diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8831b2ce..9480f089 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest name: Confirm config and documentation steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: ruby/setup-ruby@v1 with: ruby-version: "3.1" @@ -34,7 +34,7 @@ jobs: - spec name: "Ruby ${{ matrix.ruby }}: ${{ matrix.task }}" steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: ruby/setup-ruby@v1 with: ruby-version: "${{ matrix.ruby }}" @@ -50,7 +50,7 @@ jobs: - spec name: "Edge RuboCop: ${{ matrix.task }}" steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Use latest RuboCop from `master` run: | echo "gem 'rubocop', github: 'rubocop-hq/rubocop'" > Gemfile.local @@ -64,7 +64,7 @@ jobs: runs-on: ubuntu-latest name: RSpec 4 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Use latest RSpec 4 from `4-0-dev` branch run: | sed -e '/rspec/d' -i Gemfile