infra #60
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: infra | |
on: | |
push: | |
paths: | |
- infra/** | |
branches: | |
- main | |
schedule: | |
- cron: "00 00 * * 3" | |
workflow_dispatch: | |
permissions: | |
id-token: write | |
contents: read | |
jobs: | |
infra: | |
strategy: | |
matrix: | |
platform: [ubuntu-latest] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- name: Log into Azure | |
uses: azure/login@v2 | |
with: | |
client-id: ${{ secrets.AZURE_CLIENT_ID }} | |
tenant-id: ${{ secrets.AZURE_TENANT_ID }} | |
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }} | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Azure CLI script file | |
uses: azure/cli@v2 | |
with: | |
azcliversion: 2.51.0 | |
inlineScript: | | |
cd infra | |
make ci-test RESOURCE_GROUP_NAME=${{ secrets.AZURE_RG }} |