Skip to content

chore: drop ubuntu-latest from test matrices in favor of ubuntu-slim #4

chore: drop ubuntu-latest from test matrices in favor of ubuntu-slim

chore: drop ubuntu-latest from test matrices in favor of ubuntu-slim #4

---
name: Test setup-github-bot
on:
workflow_call: ~
pull_request:
paths:
- setup-github-bot/**
- .github/workflows/test-setup-github-bot.yml
push:
branches:
- main
paths:
- setup-github-bot/**
- .github/workflows/test-setup-github-bot.yml
permissions:
contents: read
jobs:
test:
strategy:
fail-fast: false
matrix:
os:
- ubuntu-slim
- macos-latest
- windows-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Run action
uses: ./setup-github-bot
- name: Verify git identity
shell: bash
run: |
[ "$(git config --global user.name)" = "github-actions[bot]" ]
[ "$(git config --global user.email)" = "github-actions[bot]@users.noreply.github.com" ]