Skip to content

Commit

Permalink
Update CI dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] committed Mar 4, 2024
1 parent 29216a5 commit d1e29da
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 25 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/audit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
sudo apt update
sudo apt install g++-10 libgbm1 graphicsmagick fonts-liberation2
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ matrix.branch }}
token: ${{ secrets.GOPASS_CI_GITHUB_TOKEN }}
Expand All @@ -43,12 +43,12 @@ jobs:

- name: Check .tool-versions file existence
id: tool-versions
uses: andstor/file-existence-action@v2
uses: andstor/file-existence-action@v3
with:
files: .tool-versions
- uses: asdf-vm/actions/install@v1
- uses: asdf-vm/actions/install@v3
if: steps.tool-versions.outputs.files_exists == 'true'
- uses: asdf-vm/actions/setup@v1
- uses: asdf-vm/actions/setup@v3
if: steps.tool-versions.outputs.files_exists != 'true'
- run: cat /tmp/python-build.*.log
if: failure()
Expand All @@ -60,7 +60,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GOPASS_CI_GITHUB_TOKEN }}
- name: Check ci/dpkg-versions.yaml file existence
id: dpkg-versions
uses: andstor/file-existence-action@v2
uses: andstor/file-existence-action@v3
with:
files: ci/dpkg-versions.yaml
- name: Update dpkg packages versions
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/clean-ghpages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: GitHub event file
run: cat ${GITHUB_EVENT_PATH}

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: gh-pages
- name: Clean ghpages
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
if: env.HAS_SECRETS == 'HAS_SECRETS'

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
if: env.HAS_SECRETS == 'HAS_SECRETS'

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@v3
if: env.HAS_SECRETS == 'HAS_SECRETS'

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
if: env.HAS_SECRETS == 'HAS_SECRETS'
24 changes: 12 additions & 12 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,17 @@ jobs:
run: echo "sha=$(jq -r .pull_request.head.sha < ${GITHUB_EVENT_PATH})" >> $GITHUB_OUTPUT
if: env.HAS_SECRETS == 'HAS_SECRETS' && github.event_name != 'push'

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
if: github.event_name != 'pull_request_target'
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ steps.sha.outputs.sha }}
if: github.event_name == 'pull_request_target'

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18.x

Expand All @@ -74,7 +74,7 @@ jobs:
- run: echo "${HOME}/.local/bin" >> ${GITHUB_PATH}
- run: python3 -m pip install --user --requirement=ci/requirements.txt

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: ~/.cache/pre-commit
key: pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}
Expand Down Expand Up @@ -125,28 +125,28 @@ jobs:
NODE_OPTIONS: --openssl-legacy-provider
- run: make check-examples
if: github.event_name != 'pull_request_target'
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: Examples
path: examples
if-no-files-found: ignore
retention-days: 5
if: always()
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: GMF Examples
path: contribs/gmf/examples
if-no-files-found: ignore
retention-days: 5
if: always()
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: Apps
path: contribs/gmf/apps
if-no-files-found: ignore
retention-days: 5
if: always()
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: Examples hosted
path: .build/examples-hosted
Expand All @@ -165,7 +165,7 @@ jobs:
NODE_OPTIONS: --openssl-legacy-provider
- run: npm run dist-spinner

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: Npm logs
path: /home/runner/.npm/_logs
Expand Down Expand Up @@ -213,7 +213,7 @@ jobs:
cp -ar .build/storybook gh-pages/storybook
if: env.HAS_SECRETS == 'HAS_SECRETS'

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: gh-pages
path: gh-pages
Expand All @@ -232,7 +232,7 @@ jobs:
run: echo ${GITHUB_EVENT} | python3 -m json.tool
env:
GITHUB_EVENT: ${{ toJson(github) }}
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: gh-pages
fetch-depth: 0
Expand All @@ -244,7 +244,7 @@ jobs:
GITHUB_REF: ${{ github.head_ref || github.ref_name }}
if: env.HAS_SECRETS == 'HAS_SECRETS'

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: gh-pages
path: ${{ steps.branch.outputs.branch }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

steps:
- run: pip install --upgrade attrs
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- run: echo "${HOME}/.local/bin" >> ${GITHUB_PATH}
- run: python3 -m pip install --user --pre c2cciutils[pr_checks]
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ repos:
additional_dependencies:
- [email protected] # npm
- [email protected] # npm
- prettier-plugin-toml@1.0.1 # npm
- prettier-plugin-toml@2.0.1 # npm
- '@prettier/[email protected]' # npm
exclude: |-
(?x)^(
Expand Down Expand Up @@ -92,7 +92,7 @@ repos:
|examples/mapillarystreetview.js
)$
- repo: https://github.com/psf/black
rev: 23.12.1
rev: 24.2.0
hooks:
- id: black
- repo: https://github.com/PyCQA/isort
Expand Down

0 comments on commit d1e29da

Please sign in to comment.