Files
setup-github-release/.gitea/workflows/test.yml
Slawomir Koszewski d2f1cb9c1a
Some checks failed
Test Action / test (push) Failing after 7s
Fix: Ensure cache is always updated for test run.
2026-04-06 23:38:07 +02:00

57 lines
1.2 KiB
YAML

name: Test Action
on:
push:
branches:
- main
paths:
- '.gitea/workflows/test.yml'
- 'action.yml'
- 'src/**'
- 'dist/**'
- 'package.json'
- 'package-lock.json'
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Check Authentication
uses: ./check-token
with:
token: ${{ secrets.GH_TOKEN }}
- name: Go ACME Setup
uses: ./
with:
repository: 'go-acme/lego'
token: ${{ secrets.GH_TOKEN }}
update-cache: 'always'
- name: Setup Hugo
uses: ./
with:
repository: 'gohugoio/hugo'
file-name: '~hugo_extended_[^a-z]'
token: ${{ secrets.GH_TOKEN }}
update-cache: 'always'
- name: Setup RClone
uses: ./
with:
repository: 'rclone/rclone'
token: ${{ secrets.GH_TOKEN }}
update-cache: 'always'
- name: Verify Installation
run: |
echo "Verifying installed tools..."
printf "\nGo ACME Lego:\n"
lego -v
printf "\nHugo:\n"
hugo version
printf "\nRClone:\n"
rclone version