Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache on linux #134

Merged
merged 4 commits into from
Apr 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,7 @@ jobs:
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5

- name: Setup COBOL
run: |
sudo apt-get update
sudo apt-get -y install curl tar libncurses5-dev libgmp-dev libdb-dev iproute2 ranger autoconf build-essential
sudo apt-get -y --purge autoremove
curl -sLk https://sourceforge.net/projects/open-cobol/files/gnu-cobol/3.1/gnucobol-3.1.2.tar.gz | tar xz
cd gnucobol-3.1.2 && ./configure --prefix=/usr && sudo make && sudo make install && sudo ldconfig
run: sudo apt update && sudo apt install -y gnucobol

- name: Fetch CobolCheck
run: bin/fetch-cobolcheck
Expand Down
3 changes: 2 additions & 1 deletion exercises/practice/luhn/.meta/proof.ci.cob
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
MOVE 0 TO WS-CARD-NUMBER
EXIT PERFORM
ELSE
MOVE CONCAT(WS-CARD-DIGITS, WS-CARD-NUMBER(WS-INDEX:1))
MOVE CONCATENATE(WS-CARD-DIGITS,
WS-CARD-NUMBER(WS-INDEX:1))
TO WS-CARD-DIGITS
END-IF
END-PERFORM.
Expand Down
2 changes: 1 addition & 1 deletion exercises/practice/two-fer/.meta/proof.ci.cob
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
IF WS-NAME EQUAL SPACE THEN
MOVE "One for you, one for me." TO WS-RESULT
ELSE
MOVE FUNCTION CONCAT("One for ",
MOVE FUNCTION CONCATENATE("One for ",
FUNCTION TRIM(WS-NAME TRAILING),", one for me.")
TO WS-RESULT
END-IF.
Loading