Update Arc Webhook fork with upstream main #1
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 CI | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 0 * * *' # nightly | |
pull_request: | |
branches: | |
- main | |
- release-** | |
paths-ignore: | |
- docs/** | |
- README.md | |
permissions: | |
contents: read | |
jobs: | |
azwi_build: | |
strategy: | |
fail-fast: false | |
matrix: | |
# TODO(aramase): add windows test env | |
env: [ubuntu-20.04, macos-11] | |
runs-on: ${{ matrix.env }} | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@cba0d00b1fc9a034e1e642ea0f1103c282990604 # v2.5.0 | |
with: | |
egress-policy: audit | |
- name: Checkout | |
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1 | |
with: | |
go-version: "1.20" | |
- 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 |