Skip to content

chore(deps): update ci-dependencies #446

chore(deps): update ci-dependencies

chore(deps): update ci-dependencies #446

Workflow file for this run

name: '🏗️ Build and Test'
on: # rebuild any PRs and main branch changes
pull_request:
push:
branches:
- 'main'
- 'releases/*'
workflow_dispatch:
jobs:
build: # make sure build/ci work properly
runs-on: ubuntu-latest
steps:
- name: 'Checkout repository'
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: 'Setup Node.js'
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version: '16.x'
cache: 'npm'
- name: 'Install dependencies'
run: npm install
- name: 'Run all NPM targets'
run: npm run all
testSingleFileTool: # make sure the action works on a clean machine without building
runs-on: ubuntu-latest
steps:
- name: 'Checkout repository'
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: 'Execute test run'
uses: ./
with:
toolName: 'gino-keva'
toolRepository: 'philips-software'
toolVersion: '2.0.0'
urlTemplate: 'https://github.com/{{toolRepository}}/{{toolName}}/releases/download/v{{toolVersion}}/{{toolName}}'
smokeTestTemplate: '{{toolName}} --help'
testCompressedTool: # make sure the action works on a clean machine without building
runs-on: ubuntu-latest
steps:
- name: 'Checkout repository'
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: 'Execute test run'
uses: ./
with:
toolName: 'trivy'
toolRepository: 'aquasecurity'
toolVersion: '0.36.0'
urlTemplate: 'https://github.com/{{toolRepository}}/{{toolName}}/releases/download/v{{toolVersion}}/{{toolName}}_{{toolVersion}}_{{platform}}-64bit.tar.gz'
smokeTestTemplate: '{{toolName}} --help'