mirror of
https://github.com/openziti/ziti.git
synced 2026-09-10 16:55:41 +00:00
27b7b54dbd
Bumps the all group with 4 updates in the / directory: [actions/checkout](https://github.com/actions/checkout), [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action), [actions/upload-artifact](https://github.com/actions/upload-artifact) and [actions/download-artifact](https://github.com/actions/download-artifact). Updates `actions/checkout` from 5 to 6 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v5...v6) Updates `golangci/golangci-lint-action` from 8 to 9 - [Release notes](https://github.com/golangci/golangci-lint-action/releases) - [Commits](https://github.com/golangci/golangci-lint-action/compare/v8...v9) Updates `actions/upload-artifact` from 4 to 5 - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v4...v5) Updates `actions/download-artifact` from 5 to 6 - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v5...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major dependency-group: all - dependency-name: golangci/golangci-lint-action dependency-version: '9' dependency-type: direct:production update-type: version-update:semver-major dependency-group: all - dependency-name: actions/upload-artifact dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major dependency-group: all - dependency-name: actions/download-artifact dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major dependency-group: all ... Signed-off-by: dependabot[bot] <support@github.com>
38 lines
1.2 KiB
YAML
38 lines
1.2 KiB
YAML
name: Test CloudFront Proxy Function
|
|
on:
|
|
workflow_dispatch:
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
- release-v*
|
|
paths:
|
|
- 'dist/cloudfront/get.openziti.io/**'
|
|
|
|
# cancel older, redundant runs of same workflow on same branch
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
test-cloudfront-proxy-function:
|
|
name: CloudFront Proxy Function Dry Run
|
|
if: github.repository_owner == 'openziti'
|
|
runs-on: ubuntu-24.04
|
|
steps:
|
|
- name: Shallow checkout
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Configure Python
|
|
shell: bash
|
|
run: |
|
|
pip install --requirement ./dist/cloudfront/get.openziti.io/requirements.txt
|
|
python --version
|
|
|
|
- name: Dry Run Deploy CloudFront Function for get.openziti.io
|
|
shell: bash
|
|
run: python ./dist/cloudfront/get.openziti.io/deploy-cloudfront-function.py --no-publish
|
|
env:
|
|
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
|
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
|
AWS_REGION: ${{ vars.AWS_REGION || secrets.AWS_REGION }}
|