Netbsd fix? Probably not... #338
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
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
shellcheck: | |
timeout-minutes: 1 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: shellcheck --color=always --shell=bash --exclude=SC2086,SC2059,SC2046,SC2235,SC2002,SC2206,SC2068,SC2207,SC2013 *.sh activate | |
editorconfig-checker: | |
timeout-minutes: 1 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: wget https://github.com/editorconfig-checker/editorconfig-checker/releases/download/v3.2.0/ec-linux-amd64.tar.gz | |
- name: Verify checksum | |
run: | | |
if [ "$(sha256sum ec-linux-amd64.tar.gz | cut -d' ' -f1)" != "5e6a63097904be33c8d18e960f54fd8f60ada5464fe0056cd3dbbd0678584d15" ]; then | |
echo "Checksum doesn't match! Maybe someone added malware to the release?" | |
exit 1 | |
fi | |
- run: tar xf ec-linux-amd64.tar.gz bin/ec-linux-amd64 | |
- run: bin/ec-linux-amd64 | |
markdownlink-checker: | |
timeout-minutes: 2 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.13' | |
- run: pip install requests | |
- run: python check-markdown-links.py --retry=5 | |
# Run the release script to make sure it doesn't error. | |
release-dry-run: | |
timeout-minutes: 2 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # Fetch the whole Git history, used for release description | |
- run: ./release.sh --github-token "${{ secrets.GITHUB_TOKEN }}" --dry-run |