Add byte order detection for internal SHA1 implementation for MacOS, POWER, RISC-V and s390 #79
Workflow file for this run
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
name: Lint source code | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
unix: | |
name: Lint | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- name: Checkout Trantor source code | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
fetch-depth: 0 | |
- name: (Linux) Install dependencies | |
run: | | |
# Installing packages might fail as the github image becomes outdated | |
sudo apt update | |
sudo apt install dos2unix clang-format | |
pip install cmake-format | |
- name: Lint | |
run: ./format.sh && git diff --exit-code |