Skip to content

Test

Test #930

Workflow file for this run

name: Test
on:
push:
schedule:
- cron: '0 3 * * *'
workflow_dispatch:
inputs:
debug_enabled:
type: boolean
description: Debug with tmate
required: false
default: false
permissions:
actions: write
defaults:
run:
shell: bash
env:
APP_SPECIFIC_PASSWORD: ${{ secrets.APP_SPECIFIC_PASSWORD }}
APPLE_ID: ${{ secrets.APPLE_ID }}
SIGNING_TOOLS_SIGNING_PASSWORD: ${{ secrets.SIGNING_TOOLS_SIGNING_PASSWORD }}
jobs:
test:
defaults:
run:
shell: bash
runs-on: macos-13
steps:
- uses: actions/checkout@v4
- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master
- uses: actions/setup-go@v4
with:
go-version: '^1.20'
- run: |
brew install bats-core coreutils gnu-getopt jq xq yq
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
with:
limit-access-to-actor: true
github-token: ${{ secrets.GITHUB_TOKEN }}
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
- name: Test signing/notarizing
run: |
make test
- uses: gautamkrishnar/keepalive-workflow@v2