name: Test Action on: push: branches: - main paths: - '.github/workflows/test.yml' - 'action.yml' - 'src/**' - 'dist/**' - 'package.json' - 'package-lock.json' - 'python/**' jobs: test: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v6 - name: Check Authentication uses: ./check-token - name: Go ACME Setup uses: ./ with: repository: 'go-acme/lego' file-type: 'archive' update-cache: 'always' - name: Setup Hugo uses: ./ with: repository: 'gohugoio/hugo' file-name: '~hugo_extended_[^a-z].*{{SYSTEM}}-{{ARCH}}' file-type: 'archive' update-cache: 'always' - name: Setup RClone uses: ./ with: repository: 'rclone/rclone' file-type: 'archive' 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 - name: Set up Python uses: actions/setup-python@v7 with: python-version: '3.14' - name: Go ACME Setup (Python CLI) run: python3 python/install_github_release.py go-acme/lego -t archive -k "${{ github.token }}" -p /tmp/python-cli-test - name: Setup Hugo (Python CLI) run: python3 python/install_github_release.py gohugoio/hugo -f '~hugo_extended_[^a-z].*{{SYSTEM}}-{{ARCH}}' -t archive -k "${{ github.token }}" -p /tmp/python-cli-test - name: Setup RClone (Python CLI) run: python3 python/install_github_release.py rclone/rclone -t archive -k "${{ github.token }}" -p /tmp/python-cli-test - name: Verify Python CLI Installation run: | echo "Verifying tools installed via the Python CLI..." printf "\nGo ACME Lego:\n" /tmp/python-cli-test/lego -v printf "\nHugo:\n" /tmp/python-cli-test/hugo version printf "\nRClone:\n" /tmp/python-cli-test/rclone version