Skip to content

Commit

Permalink
ci: update actions to latest version and fix nodejs deprecated warning
Browse files Browse the repository at this point in the history
Update github actions to:
- kentaro-m/auto-assign-action: 2.0.0
- actions/checkout: 4
- actions/cache: 4
- actions/upload-artifact: 4
- actions/setup-python: 5
- crazy-max/ghaction-import-gpg: 6
- rojopolis/spellcheck-github-actions: v0

Fixes: Warnings: Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20

Signed-off-by: Badrikesh Prusty <[email protected]>
  • Loading branch information
baprusty authored and chombourger committed Mar 15, 2024
1 parent df8236d commit 34895f0
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/assign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ jobs:
add-reviews:
runs-on: ubuntu-latest
steps:
- uses: kentaro-m/auto-assign-action@v1.2.5
- uses: kentaro-m/auto-assign-action@v2.0.0
12 changes: 6 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: tox
run: |
sudo apt install -y build-essential libsystemd-dev
Expand All @@ -37,11 +37,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Free Disk Space
uses: ./.github/workflows/free-disk-space
- name: Cache downloads and sstate
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: ${{ hashFiles('debian/changelog') }}
path: |
Expand All @@ -56,15 +56,15 @@ jobs:
run: |
./kas-container build kas/ci/full.yml
- name: Upload NanoPI images
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: github.ref == 'refs/heads/master'
with:
name: mtda-nanopi-images
path: |
build/tmp/deploy/images/nanopi-*/mtda-image-mtda-*-nanopi-*.wic
build/tmp/deploy/images/nanopi-*/mtda-image-mtda-*-nanopi-*.wic.bmap
- name: Upload BeagleBone Black images
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: github.ref == 'refs/heads/master'
with:
name: mtda-bbb-images
Expand All @@ -82,7 +82,7 @@ jobs:
- name: Import GPG key
if: startsWith(github.ref, 'refs/tags/v')
id: import_gpg
uses: crazy-max/ghaction-import-gpg@v4
uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ jobs:
name: Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Install pypa/build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/spellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: rojopolis/spellcheck-github-actions@0.34.0
- uses: rojopolis/spellcheck-github-actions@v0
name: Spellcheck
with:
config_path: .github/spellcheck_config.yml

0 comments on commit 34895f0

Please sign in to comment.