Azure Workload Identity E2E #1933
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Azure Workload Identity E2E | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 0 * * *' # nightly | |
push: | |
branches: | |
- main | |
- release-** | |
permissions: | |
id-token: write | |
contents: read | |
jobs: | |
azwi_build: | |
strategy: | |
fail-fast: false | |
matrix: | |
# TODO(aramase): add windows test env | |
env: [ubuntu-20.04, macos-13] | |
runs-on: ${{ matrix.env }} | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895 # v2.6.1 | |
with: | |
egress-policy: audit | |
- name: Checkout | |
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 | |
with: | |
go-version: "1.23" | |
check-latest: true | |
- name: Build azwi | |
run: | | |
make bin/azwi | |
- name: Validate azwi commands | |
run: | | |
./bin/azwi version | |
./bin/azwi -h | |
./bin/azwi serviceaccount -h | |
./bin/azwi serviceaccount create -h | |
./bin/azwi serviceaccount delete -h | |
./bin/azwi jwks -h |