Skip to content

Merge pull request #1592 from liblouis/dependabot/github_actions/step… #11

Merge pull request #1592 from liblouis/dependabot/github_actions/step…

Merge pull request #1592 from liblouis/dependabot/github_actions/step… #11

Workflow file for this run

name: Test macro feature
on:
workflow_dispatch:
push:
branches: [ master ]
paths-ignore:
- README
- NEWS
permissions: # added using https://github.com/step-security/secure-workflows
contents: read
jobs:
build:
name: Test macro feature
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Install dependencies
run: sudo apt-get update -qq && sudo apt-get install -y libyaml-dev
- name: Autogen && configure
run: |
./autogen.sh
./configure --enable-macros
- name: Make
run: make
- name: Make check
run: make check
- name: Store the test log
if: ${{ always() }} # store the test log even if the tests failed
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
with:
name: test-suite-macro.log
path: tests/test-suite.log