Debian Codegraph @

.github/workflows/metadata.yml

raw symbols SCIP
1 name: Run the metadata test
2
3 on:
4 workflow_dispatch:
5 push:
6 branches: [ master ]
7 paths:
8 - 'tables/*'
9 - 'liblouis/metadata.c'
10 - 'extra/generate-display-names/*'
11 pull_request:
12 branches: [ master ]
13 paths:
14 - 'tables/*'
15 - 'liblouis/metadata.c'
16 - 'extra/generate-display-names/*'
17
18 permissions: # added using https://github.com/step-security/secure-workflows
19 contents: read
20
21 jobs:
22 metadata-test:
23 name: Build and check the metadta
24
25 runs-on: ubuntu-latest
26
27 steps:
28 - name: Harden Runner
29 uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4
30 with:
31 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
32
33 - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
34 - uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
35 with:
36 go-version: '>=1.25'
37 cache-dependency-path: extra/generate-display-names/go.sum
38 - name: Install dependencies
39 run: sudo apt-get update -qq && sudo apt-get install -y libyaml-dev texinfo texlive
40 - name: autogen && configure
41 run: |
42 ./autogen.sh
43 ./configure --enable-ucs4
44 - name: Build
45 run: make
46 - name: Run the metadata test
47 run: make -C extra/generate-display-names
48 - name: Store the log
49 if: ${{ failure() }}
50 uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
51 with:
52 name: generate-display-names.log
53 path: extra/generate-display-names/generate.log