Skip to content

chore(deps): update github/codeql-action action to v3 (.github/workflows/codeql.yml) (main) #1549

chore(deps): update github/codeql-action action to v3 (.github/workflows/codeql.yml) (main)

chore(deps): update github/codeql-action action to v3 (.github/workflows/codeql.yml) (main) #1549

Workflow file for this run

name: 'test.action'
on:
workflow_dispatch:
# rebuild any PRs and main branch changes
pull_request:
branches: [$default-branch, main]
paths-ignore:
- 'README.md'
- 'docs/**'
push:
branches:
- $default-branch
- main
- 'releases/*'
paths-ignore:
- 'README.md'
- 'docs/**'
jobs:
build: # make sure build/ci work properly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: |
npm install
- run: |
npm run test
- run: |
npm run pack
test: # make sure the action works on a clean machine with(out) building
runs-on: ubuntu-latest
needs: [ build ]
steps:
- uses: actions/checkout@v3
- name: run-action
uses: ./
id: run_action
with:
name: world
- name: log-action-output
run: echo ${{steps.run_action.outputs.my_output}}