-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Ran the code formatter on source files. - Rehaul of the README to follow Python's example.
- Loading branch information
Showing
6 changed files
with
120 additions
and
36 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,32 +26,20 @@ jobs: | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | ||
|
||
- name: Setup Odin | ||
uses: laytan/setup-odin@v2 | ||
uses: laytan/setup-odin | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
# TODO: Pull a specific version of Odin compatible with the OS. | ||
# The current setting pulls the latest version of Odin from the repo, and rebuilds it from | ||
# scratch. This is slow, and clutters the action's log. Rather ensure that the OS has the | ||
# right dependencies for a recent versioned release of the compiler. | ||
release: false | ||
release: dev-2024-08 | ||
|
||
llvm-version: 14 | ||
|
||
- name: Install project dependencies | ||
run: bin/fetch-configlet | ||
|
||
- name: Run the project linter | ||
run: bin/configlet lint | ||
|
||
- name: Verify all exercises | ||
run: bin/verify-exercises | ||
|
||
- name: Apply code formatting to all .odin files | ||
run: bin/format-all.sh | ||
|
||
- name: Commit and push changes | ||
run: | | ||
git config --global user.name 'G-J van Rooyen' | ||
git config --global user.email '[email protected]' | ||
git diff --quiet && git diff --staged --quiet || git commit -am "Automated formatting" && git push |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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