Skip to content

Bump undici from 5.28.3 to 5.28.4 #43

Bump undici from 5.28.3 to 5.28.4

Bump undici from 5.28.3 to 5.28.4 #43

Workflow file for this run

name: Test report-event action
on:
push:
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
# TODO add a step to configure AWS creds if we decide to test reporting an event
- name: Test report-event action
id: test-action
uses: ./
continue-on-error: true # TODO for now, we're expecting the program to exit 2 when usage is called
with:
args: -h # TODO we might decide to report a valid test event to test infrastructure when it is set up
version: "*" # use the latest version
- name: Assert against outputs
if: ${{ (steps.test-action.outputs.exit-code != 2) || (!contains(steps.test-action.outputs.output, 'report-event')) }}
run: |
echo "Exit code and output did not match expected"
echo "Exit code: ${{ steps.test-action.outputs.exit-code }}"
echo "Stdout: ${{ steps.test-action.outputs.output }}"
echo "Stderr: ${{ steps.test-action.outputs.error-output }}"
exit 1