Skip to content

Commit

Permalink
feat: update appinspect-cli to 2.0 and other dependencies (#211)
Browse files Browse the repository at this point in the history
This updates every dependency that is not being run on container
`ghcr.io/splunk/workflow-engine-base` as it does not support node20 in
current version.

Updated depenencies:

- apache/[email protected]
- actions/setup-python@v5
- amannn/[email protected]
- docker/[email protected]
- crazy-max/ghaction-virustotal@v4
- splunk/[email protected]
- docker/setup-buildx-action@v3

Tested here:
https://github.com/splunk/splunk-add-on-for-cisco-meraki/actions/runs/7396274137
  • Loading branch information
mbruzda-splunk authored Jan 3, 2024
1 parent de8e1fc commit 682b7f1
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-test-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: apache/skywalking-eyes@v0.4.0
- uses: apache/skywalking-eyes@v0.5.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: "3.7"
- run: |
Expand Down
26 changes: 13 additions & 13 deletions .github/workflows/reusable-build-test-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ jobs:
pull-requests: read
statuses: write
steps:
- uses: amannn/action-semantic-pull-request@v5.2.0
- uses: amannn/action-semantic-pull-request@v5.4.0
with:
wip: true
validateSingleCommit: true
Expand Down Expand Up @@ -260,7 +260,7 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
- name: Docker meta
id: docker_action_meta
uses: docker/metadata-action@v4.6.0
uses: docker/metadata-action@v5.4.0
with:
images: ghcr.io/${{ github.repository }}/container
tags: |
Expand Down Expand Up @@ -334,7 +334,7 @@ jobs:
if: ${{ needs.setup-workflow.outputs.skip-workflow != 'Yes' }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: "3.7"
- uses: pre-commit/[email protected]
Expand Down Expand Up @@ -428,7 +428,7 @@ jobs:
checks: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Setup addon
Expand Down Expand Up @@ -476,7 +476,7 @@ jobs:
checks: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Setup addon
Expand Down Expand Up @@ -529,7 +529,7 @@ jobs:
# build if this is not set false
persist-credentials: false
- name: Setup python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.7
- name: create requirements file for pip
Expand Down Expand Up @@ -667,7 +667,7 @@ jobs:
# build if this is not set false
persist-credentials: false
- name: Setup python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: create requirements file for pip
Expand Down Expand Up @@ -733,7 +733,7 @@ jobs:
name: package-splunkbase
path: build/package/
- name: VirusTotal Scan
uses: crazy-max/ghaction-virustotal@v3
uses: crazy-max/ghaction-virustotal@v4
with:
vt_api_key: ${{ secrets.VT_API_KEY }}
files: |
Expand All @@ -755,7 +755,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Install Python 3
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.7
- name: run-tests
Expand Down Expand Up @@ -794,7 +794,7 @@ jobs:
name: package-splunkbase
path: build/package/
- name: Scan
uses: splunk/appinspect-cli-action@v1.12
uses: splunk/appinspect-cli-action@v2.0
with:
app_path: build/package/
included_tags: ${{ matrix.tags }}
Expand Down Expand Up @@ -874,7 +874,7 @@ jobs:
mv oras-install/oras /usr/local/bin/
rm -rf oras_0.12.0_*.tar.gz oras-install/
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Packages Docker Registry
uses: docker/[email protected]
with:
Expand All @@ -883,7 +883,7 @@ jobs:
password: ${{ github.token }}
- name: Docker meta
id: meta
uses: docker/metadata-action@v4.6.0
uses: docker/metadata-action@v5.4.0
with:
images: ghcr.io/${{ github.repository }}
tags: |
Expand Down Expand Up @@ -993,7 +993,7 @@ jobs:
path: ${{ github.workspace }}
- name: Setup python
if: steps.download-openapi.conclusion != 'skipped'
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.7
- name: modinput-test-prerequisites
Expand Down

0 comments on commit 682b7f1

Please sign in to comment.