Skip to content

Commit

Permalink
ci: Upgrade actions to fix warnings (cvc5#10302)
Browse files Browse the repository at this point in the history
Upgrade checkout, cache and upload-artifact actions versions.
  • Loading branch information
netolcc06 authored Jan 30, 2024
1 parent 17f7502 commit 235e860
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/actions/build-documentation/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ runs:
working-directory: ${{ inputs.build-dir }}

- name: Store Documentation
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: documentation
path: ${{ inputs.build-dir }}/docs/sphinx-gh/
2 changes: 1 addition & 1 deletion .github/actions/package-python-wheel-macos/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ inputs:
runs:
using: composite
steps:
- uses: actions/setup-python@v2
- uses: actions/setup-python@v4
if: runner.os == 'macOS'
with:
python-version: ${{ inputs.python-version }}
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/setup-cache/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ runs:
using: composite
steps:
- name: Setup ccache cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ccache-dir
key: ${{ inputs.cache-key }}-${{ runner.os }}-ccache-${{ github.sha }}
Expand All @@ -50,7 +50,7 @@ runs:
- name: Setup contrib dependencies cache
id: contrib-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: deps/install
key: ${{ inputs.cache-key }}-${{ runner.os }}-contrib-${{ hashFiles('contrib/get-**') }}-${{ hashFiles('.github/**') }}
Expand All @@ -63,7 +63,7 @@ runs:
./contrib/get-alf-checker
- name: Setup dependencies cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
build-shared/deps
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:

steps:

- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install dependencies
uses: ./.github/actions/install-dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs_upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
git config --global user.name "DocBot"
- name: Download artifact
uses: actions/github-script@v6.4.0
uses: actions/github-script@v7
with:
script: |
var artifacts = await github.rest.actions.listWorkflowRunArtifacts({
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/package_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
if: (github.repository == 'cvc5/cvc5') || (github.event_name != 'schedule')

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down

0 comments on commit 235e860

Please sign in to comment.