Merge branch 'release/v1.0.0' into main #6
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Compile and Link Program | |
| on: [push, pull_request, workflow_dispatch] | |
| jobs: | |
| compile: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v4 | |
| - name: Setup GnuCOBOL | |
| uses: fabasoad/setup-cobol-action@v1.6.1 | |
| with: | |
| version: 3.2 | |
| - name: Lint COBOL Code | |
| run: cobc -I src --free -fsyntax-only -Wfatal-errors -Wall -Wextra -Wno-terminator src/*.cob | |
| - name: Compile COBOL Code | |
| run: cobc -I src --free -x src/*.cob -q |