mirror of
https://github.com/tailscale/github-action.git
synced 2026-08-21 08:39:23 +00:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 7.0.0 to 7.0.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](9c091bb21b...3d3c42e5aa)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: 7.0.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
52 lines
1.3 KiB
YAML
52 lines
1.3 KiB
YAML
name: "Smoke Tests"
|
|
|
|
on:
|
|
pull_request:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
# Basic smoke test that doesn't require secrets
|
|
smoke-test:
|
|
name: Smoke Test (${{ matrix.os }})
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
|
|
with:
|
|
node-version: "24"
|
|
cache: "npm"
|
|
|
|
- name: Install Dependencies
|
|
run: npm ci
|
|
|
|
- name: Build Action
|
|
run: npm run build
|
|
|
|
- name: Test Action Loading (No Auth)
|
|
uses: ./
|
|
with:
|
|
version: "latest"
|
|
continue-on-error: true
|
|
id: smoke-test
|
|
|
|
# The action should fail gracefully with a proper error message
|
|
- name: Verify Expected Failure
|
|
shell: bash
|
|
run: |
|
|
if [ "${{ steps.smoke-test.outcome }}" == "success" ]; then
|
|
echo "❌ Expected action to fail without authentication, but it succeeded"
|
|
exit 1
|
|
else
|
|
echo "✅ Action correctly failed without authentication as expected"
|
|
fi
|