Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update actions using old Node version #1111

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
name: Run CircleCI artifacts redirector
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4

- name: Get artifact URL
id: getArtifact
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/demo_diff_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
with:
access_token: ${{ github.token }}

- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
ref: dev

Expand Down Expand Up @@ -44,19 +44,19 @@ jobs:
run: |
curl -sSL https://install.python-poetry.org -o install-poetry.py
python3 install-poetry.py --version 1.7.1

$POETRY_HOME/bin/poetry config virtualenvs.create "false"
$POETRY_HOME/bin/poetry config virtualenvs.in-project "true"

$POETRY_HOME/bin/poetry --version

echo "bin=${{ env.POETRY_HOME }}/bin/poetry" >> $GITHUB_OUTPUT

- name: Install Python Dependencies
run: |
source ${{ steps.venv.outputs.location }}/bin/activate
make POETRY_BIN="${{ steps.poetry.outputs.bin }}" UPGRADE_PL=1 environment

# Adding this install outside of poetry as the dependencies conflict with existing other packages.
# TODO: This needs to be revisited.
${{ steps.venv.outputs.location }}/bin/python3 -m pip install --no-deps mitiq==0.25.0
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
with:
access_token: ${{ github.token }}

- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
ref: master

Expand Down Expand Up @@ -113,19 +113,19 @@ jobs:
run: |
curl -sSL https://install.python-poetry.org -o install-poetry.py
python3 install-poetry.py --version 1.7.1

$POETRY_HOME/bin/poetry config virtualenvs.create "false"
$POETRY_HOME/bin/poetry config virtualenvs.in-project "true"

$POETRY_HOME/bin/poetry --version

echo "bin=${{ env.POETRY_HOME }}/bin/poetry" >> $GITHUB_OUTPUT

- name: Install Python Dependencies
run: |
source ${{ steps.venv.outputs.location }}/bin/activate
make POETRY_BIN="${{ steps.poetry.outputs.bin }}" UPGRADE_PL=0 environment

# Adding this install outside of poetry as the dependencies conflict with existing other packages.
# TODO: This needs to be revisited.
${{ steps.venv.outputs.location }}/bin/python3 -m pip install --no-deps mitiq==0.25.0
Expand All @@ -147,7 +147,7 @@ jobs:
runs-on: ubuntu-latest
needs: [build-dev, build-master]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
# We checkout a dedicated unprotected branch and store the output of
# the checker there
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v4

- name: Nightly Merge
uses: robotology/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upload-json.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.branch }}
fetch-depth: 1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upload-text.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.branch }}
fetch-depth: 1
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/validate-demo-metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1
ref: ${{ inputs.branch }}
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1
ref: ${{ inputs.branch }}
Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1
ref: ${{ inputs.branch }}
Expand Down
Loading