From f58e4b5448ff7cc31401d4bfeaa5991f4d1eff23 Mon Sep 17 00:00:00 2001 From: James Brown Date: Wed, 26 Jun 2024 17:41:57 -0700 Subject: [PATCH] chore: swap rails-cloudflare-turnstile to use symbolic names instead of shas for common github actions --- .github/workflows/ci.yml | 10 +++++----- .github/workflows/release.yml | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 45154e2..6107c85 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,9 +19,9 @@ jobs: ruby: ["3.0", "3.1", "3.2", "3.3"] steps: - name: Checkout code - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@v4 - name: Install Ruby and gems - uses: ruby/setup-ruby@3783f195e29b74ae398d7caca108814bbafde90e + uses: ruby/setup-ruby@v1 with: bundler-cache: true ruby-version: ${{ matrix.ruby }} @@ -36,16 +36,16 @@ jobs: contents: read steps: - name: Checkout code - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@v4 - name: Install Ruby and gems - uses: ruby/setup-ruby@3783f195e29b74ae398d7caca108814bbafde90e + uses: ruby/setup-ruby@v1 with: bundler-cache: true ruby-version: "3.1" - name: Bundle Audit Check run: bundle exec bundle-audit update && bundle exec bundle-audit check - name: Setup Python - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d + uses: actions/setup-python@v5 with: python-version: "3.12" - name: Run pre-commit diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7377b22..866ef36 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,9 +7,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@v4 - name: Install Ruby and gems - uses: ruby/setup-ruby@3783f195e29b74ae398d7caca108814bbafde90e + uses: ruby/setup-ruby@v1 with: bundler-cache: true ruby-version: "3.3"