Skip to content

Commit

Permalink
hotfix: update deprecated gh actions to a proper versions (#4699)
Browse files Browse the repository at this point in the history
  • Loading branch information
sitozzz authored May 6, 2024
1 parent 48775b6 commit 106760b
Show file tree
Hide file tree
Showing 24 changed files with 50 additions and 50 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/_nodejs.condo.core.tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
dest: './docker-logs'

- name: Upload log artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: logs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/arc-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
run: git --version

- name: Checkout code with submodules
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/arc-condo-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
run: git --version

- name: Checkout code with submodules
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:
dest: './docker-logs'

- name: Upload log artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: logs
Expand All @@ -123,7 +123,7 @@ jobs:
run: git --version

- name: Checkout code with submodules
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
Expand Down Expand Up @@ -197,7 +197,7 @@ jobs:
dest: './docker-logs'

- name: Upload log artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: logs
Expand All @@ -222,7 +222,7 @@ jobs:
run: git --version

- name: Checkout code with submodules
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
Expand Down Expand Up @@ -296,7 +296,7 @@ jobs:
dest: './docker-logs'

- name: Upload log artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: logs
Expand All @@ -321,7 +321,7 @@ jobs:
run: git --version

- name: Checkout code with submodules
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
Expand Down Expand Up @@ -398,7 +398,7 @@ jobs:
dest: './docker-logs'

- name: Upload log artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: logs
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy_cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
WERF_PARALLEL: 0
steps:
- name: Login to Sbercloud Container Registry
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
registry: swr.ru-moscow-1.hc.sbercloud.ru
username: ${{ secrets.SBERCLOUD_CR_USERNAME }}
Expand All @@ -28,11 +28,11 @@ jobs:
key: ${{ secrets.SSH_DOCK_SERVER_PRIVATE_KEY }}
name: id_rsa
known_hosts: ${{ secrets.SSH_DOCK_SERVER_KNOWN_HOSTS }}
if_key_exists: replace
if_key_exists: replace
- name: Set env for branch name
run: echo "BRANCH_NAME=$(echo ${GITHUB_REF##*/} | sed 's/\_/-/g')" >> $GITHUB_ENV
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy_development.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
PULL_PERSONAL_ACCESS_KEY: ${{ secrets.PULL_PERSONAL_ACCESS_KEY }}
steps:
- name: Login to Sbercloud Container Registry
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
registry: swr.ru-moscow-1.hc.sbercloud.ru
username: ${{ secrets.SBERCLOUD_CR_USERNAME }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy_production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
exit 1
fi
- name: Login to Sbercloud Container Registry
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
registry: swr.ru-moscow-1.hc.sbercloud.ru
username: ${{ secrets.SBERCLOUD_CR_USERNAME }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy_review.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
PULL_PERSONAL_ACCESS_KEY: ${{ secrets.PULL_PERSONAL_ACCESS_KEY }}
steps:
- name: Login to Sbercloud Container Registry
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
registry: swr.ru-moscow-1.hc.sbercloud.ru
username: ${{ secrets.SBERCLOUD_CR_USERNAME }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/gitexporter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
runs-on: self-hosted
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
ssh-key: ${{ secrets.SSH_DOCK_SERVER_PRIVATE_KEY }}
- name: Checkout source code
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: 'open-condo-software/condo'
fetch-depth: 0
Expand All @@ -25,7 +25,7 @@ jobs:
path: ignore.gitexporter.source
ref: 'master'
- name: Checkout target code
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: 'open-condo-software/open-condo-platform'
fetch-depth: 0
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nodejs.address-service.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:

steps:
- name: Checkout code with submodules
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
dest: './docker-logs'

- name: Upload log artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: logs
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/nodejs.condo.ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
echo "DOCKER_CACHE_FROM=type=registry,ref=${{ secrets.DOCKER_REGISTRY }}/condo/condo-image:$( echo "${{github.ref_name}}" | sed 's/[^a-zA-Z0-9]/-/g' ) >> $GITHUB_ENV"
echo "DOCKER_CACHE_TO=type=registry,ref=${{ secrets.DOCKER_REGISTRY }}/condo/condo-image:$( echo "${{github.ref_name}}" | sed 's/[^a-zA-Z0-9]/-/g' ),mode=min,image-manifest=true" >> $GITHUB_ENV
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
with:
dest: './docker-logs'
- name: Upload log artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: logs
Expand All @@ -92,13 +92,13 @@ jobs:
dev-api: ${{ steps.detect-changes.outputs.dev-api }}
steps:
- name: Checkout code with submodules
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
ssh-key: ${{ secrets.SSH_DOCK_SERVER_PRIVATE_KEY }}
- name: Scan changed files
uses: dorny/paths-filter@v2
uses: dorny/paths-filter@v3
id: detect-changes
with:
filters: |
Expand All @@ -113,7 +113,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code with submodules
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
Expand Down Expand Up @@ -148,7 +148,7 @@ jobs:
if: (github.actor != 'dependabot[bot]')
steps:
# Fetch project source with GitHub Actions Checkout.
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: ./bin/run-semgrep.sh -a

run-dev-api-tests:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nodejs.condo.cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

steps:
- name: Checkout code with submodules
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:
DISABLE_LOGGING: true

- name: Upload screenshots artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: screenshots
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.condo.deploy.branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install SSH key
uses: shimataro/ssh-key-action@v2
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nodejs.condo.k6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:

steps:
- name: Checkout code with submodules
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
k6 -o experimental-prometheus-rw run --summary-trend-stats="avg,min,med,max,p(90),p(95),p(99)" apps/condo/k6/dist/news.test.js
- name: Upload screenshots
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: screenshots
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.condo.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
sudo apt update && sudo apt install -y git
- name: checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/packages.bridge.build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

steps:
- name: Checkout code with submodules
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
Expand All @@ -23,4 +23,4 @@ jobs:
yarn install --immutable
- name: Build lib
run: yarn workspace @open-condo/bridge build
run: yarn workspace @open-condo/bridge build
4 changes: 2 additions & 2 deletions .github/workflows/packages.icons.build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

steps:
- name: Checkout code with submodules
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
Expand All @@ -27,4 +27,4 @@ jobs:
yarn install --immutable
- name: Build lib
run: yarn workspace @open-condo/icons build
run: yarn workspace @open-condo/icons build
4 changes: 2 additions & 2 deletions .github/workflows/packages.release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

steps:
- name: Checkout code with submodules
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
Expand All @@ -39,4 +39,4 @@ jobs:
run: node bin/publish-packages.js
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/packages.ui.build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

steps:
- name: Checkout code with submodules
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
Expand Down Expand Up @@ -46,4 +46,4 @@ jobs:
run: yarn workspace @open-condo/ui build:colors

- name: Build lib
run: yarn workspace @open-condo/ui build:lib
run: yarn workspace @open-condo/ui build:lib
4 changes: 2 additions & 2 deletions .github/workflows/packages.ui.merge.tokens.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

steps:
- name: Checkout code with submodules
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
Expand All @@ -39,4 +39,4 @@ jobs:
if: ${{ steps.cpr.outputs.pull-request-number }}
run: |
echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}"
echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"
echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"
2 changes: 1 addition & 1 deletion .github/workflows/packages.ui.rebase.tokens.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

steps:
- name: Checkout without submodules
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
token: ${{ secrets.DESIGN_BOT_PAT }}
fetch-depth: 0
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/packages.ui.review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

steps:
- name: Checkout code with submodules
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
Expand All @@ -28,4 +28,4 @@ jobs:
with:
workingDir: packages/ui
projectToken: ${{ secrets.UI_CHROMATIC_PROJECT_TOKEN }}
buildScriptName: "build:sb"
buildScriptName: "build:sb"
Loading

0 comments on commit 106760b

Please sign in to comment.