From 93eedc08d2a381e0c513796f2b8c97309c50b2a6 Mon Sep 17 00:00:00 2001 From: Georges Berenger Date: Thu, 2 May 2024 15:37:34 -0700 Subject: [PATCH] Update GitHub CI scripts (#148) Summary: Update GitHub helper scripts to their latest version, and consistently request Python 3.9. Pull Request resolved: https://github.com/facebookresearch/vrs/pull/148 Reviewed By: finik Differential Revision: D56907464 fbshipit-source-id: f599f36907a1de5471ebedb3bf6c3c4825335e59 --- .github/workflows/build-and-test-pixi.yml | 2 +- .github/workflows/build-and-test.yml | 2 +- .github/workflows/publish-website.yml | 4 ++-- .github/workflows/release.yml | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-and-test-pixi.yml b/.github/workflows/build-and-test-pixi.yml index 657ac32e..8cc3743b 100644 --- a/.github/workflows/build-and-test-pixi.yml +++ b/.github/workflows/build-and-test-pixi.yml @@ -16,7 +16,7 @@ jobs: os: [macos-latest, macos-14, ubuntu-latest, windows-2019] # macos-14 is macSilicon steps: - name : Setup repo - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name : Remove Mono framework if: runner.os == 'macOS' diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index ab2d8de1..ce909560 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -16,7 +16,7 @@ jobs: fail-fast: false steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Install dependencies run: | diff --git a/.github/workflows/publish-website.yml b/.github/workflows/publish-website.yml index db7e7d58..1db7d897 100644 --- a/.github/workflows/publish-website.yml +++ b/.github/workflows/publish-website.yml @@ -12,10 +12,10 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.6] + python-version: [3.9] steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Install dependencies run: | sudo apt-get update diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b55d13b3..210159ea 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,10 +8,10 @@ jobs: runs-on: ubuntu-latest steps: - name: checkout-repo-content - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: setup-python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: 3.9 @@ -41,7 +41,7 @@ jobs: with: repository: ${{ github.repository }} - name: checkout-repo-content - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Create release if: needs.get-current-version.outputs.current_tag != steps.get-latest-tag.outputs.release