Skip to content

feat: add new input to allow include statements at the top of formula class #379

feat: add new input to allow include statements at the top of formula class

feat: add new input to allow include statements at the top of formula class #379

Workflow file for this run

name: build
on:
push:
paths:
- '.github/workflows/build.yml'
- '**/*.py'
branches:
- '**'
tags:
- '!**'
pull_request:
paths:
- '.github/workflows/build.yml'
- '**/*.py'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: extractions/setup-just@v2
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: just install lint
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: extractions/setup-just@v2
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: just install coverage
brew-audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: extractions/setup-just@v2
- uses: Homebrew/actions/setup-homebrew@master
# These Homebrew packages are needed since we have them as fake dependencies for some test output
- name: Setup required Homebrew packages
run: brew install bash gcc
- name: Run brew audit on generated test formula
run: just audit
docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Build Docker image
run: docker build . -t justintime50/homebrew-releaser
coverage:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: extractions/setup-just@v2
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: just install coverage
- uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: './coverage.lcov'