Skip to content

Commit

Permalink
build: Update to latest profile template
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Jun 11, 2024
1 parent 089fb3d commit 27e049e
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/shell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ jobs:
- uses: actions/checkout@v4
- run: |
sudo apt update
sudo apt install shellcheck shfmt
sudo apt install devscripts shellcheck shfmt
- run: checkbashisms $(shfmt -f .)
- run: shellcheck $(shfmt -f .)
- run: shfmt -d -i 4 -sr $(shfmt -f .)
2 changes: 1 addition & 1 deletion common-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ tomli==2.0.1
# pip-tools
# pyproject-hooks
# pytest
tornado==6.3.3
tornado==6.4.1
# via livereload
trio==0.20.0
# via
Expand Down
7 changes: 4 additions & 3 deletions script/diff
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/env bash
# No -e, because diff fails.
set -uo pipefail
#!/bin/sh

# No -e, because diff uses exit status 1 when differences are found.
set -u

curl -sS https://raw.githubusercontent.com/open-contracting/standard_profile_template/latest/docs/conf.py | diff -u - docs/conf.py

Expand Down
7 changes: 4 additions & 3 deletions script/update
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/usr/bin/env bash
set -euo pipefail
#!/bin/sh

function main {
set -eu

main() {
mkdir -p script include tests

for f in Makefile common-requirements.in common-requirements.txt .github/dependabot.yml .github/workflows/lint.yml .github/workflows/shell.yml docs/_static/favicon-16x16.ico include/common.mk include/prologue.mk include/header.html script/diff script/update tests/conftest.py tests/test_common.py; do
Expand Down

0 comments on commit 27e049e

Please sign in to comment.