From 1805dbaacff00740e67a5c1ac9fd83af4e4e2b76 Mon Sep 17 00:00:00 2001 From: Stefan Matar Date: Wed, 1 Apr 2026 19:01:09 +0200 Subject: [PATCH] ci: add smoke test for GitHub Action --- .github/workflows/test-action.yml | 44 +++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 .github/workflows/test-action.yml diff --git a/.github/workflows/test-action.yml b/.github/workflows/test-action.yml new file mode 100644 index 0000000..f6f9363 --- /dev/null +++ b/.github/workflows/test-action.yml @@ -0,0 +1,44 @@ +name: Test Action + +on: + pull_request: + paths: + - "action.yml" + - ".github/workflows/test-action.yml" + +jobs: + test-latest: + name: "Test @v1 (latest) on ${{ matrix.os }}" + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, macos-latest] + steps: + - uses: actions/checkout@v4 + + - name: Install frameterm (latest) + uses: ./ + + - name: Verify binary + run: | + which frameterm + frameterm --help + + test-pinned: + name: "Test pinned version on ${{ matrix.os }}" + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, macos-latest] + steps: + - uses: actions/checkout@v4 + + - name: Install frameterm (pinned v1.2.2) + uses: ./ + with: + version: "1.2.2" + + - name: Verify binary + run: | + which frameterm + frameterm --help