Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fabasoad/setup-cobol-action
This action installs GnuCOBOL.
https://github.com/fabasoad/setup-cobol-action
cobol github-action github-actions gnucobol
Last synced: about 2 months ago
JSON representation
This action installs GnuCOBOL.
- Host: GitHub
- URL: https://github.com/fabasoad/setup-cobol-action
- Owner: fabasoad
- License: mit
- Created: 2020-04-16T02:03:23.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-08-03T09:30:23.000Z (5 months ago)
- Last Synced: 2024-10-15T17:23:35.450Z (2 months ago)
- Topics: cobol, github-action, github-actions, gnucobol
- Language: COBOL
- Homepage:
- Size: 796 KB
- Stars: 12
- Watchers: 4
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
- awesome-actions - Setup COBOL
- fucking-awesome-actions - Setup COBOL
- awesome-workflows - Setup COBOL
README
# Setup COBOL (GnuCOBOL)
[![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/badges/StandWithUkraine.svg)](https://stand-with-ukraine.pp.ua)
![GitHub release](https://img.shields.io/github/v/release/fabasoad/setup-cobol-action?include_prereleases)
![functional-tests-local](https://github.com/fabasoad/setup-cobol-action/actions/workflows/functional-tests-local.yml/badge.svg)
![functional-tests-remote](https://github.com/fabasoad/setup-cobol-action/actions/workflows/functional-tests-remote.yml/badge.svg)
![security](https://github.com/fabasoad/setup-cobol-action/actions/workflows/security.yml/badge.svg)
![linting](https://github.com/fabasoad/setup-cobol-action/actions/workflows/linting.yml/badge.svg)This action sets up a [GnuCOBOL](https://en.wikipedia.org/wiki/COBOL) programming
language.Supported OS: Linux Ubuntu.
## Inputs
| Name | Required | Description | Default | Possible values |
|---------|----------|-------------------|---------|----------------------------------------|
| version | No | GnuCOBOL version. | `3.1.2` | `3.0-rc1`, `3.1-rc1`, `3.1.1`, `3.1.2` |## Example usage
### Workflow configuration
```yaml
name: Setup COBOLon: push
jobs:
setup:
name: Setup
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- uses: fabasoad/setup-cobol-action@main
- name: Run script
run: |
cobc -x HelloWorld.cob
./HelloWorld
```### Result
```text
Run cobc -x HelloWorld.cob
Hello World!
```