-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: Update to latest profile template
- Loading branch information
1 parent
ac9fc78
commit ccc943e
Showing
8 changed files
with
35 additions
and
110 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
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 |
---|---|---|
@@ -1,10 +1,7 @@ | ||
name: Lint JavaScript | ||
on: [push, pull_request] | ||
jobs: | ||
build: | ||
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: biomejs/setup-biome@v2 | ||
- run: biome ci --indent-style=space --line-width=119 docs/_static/show-shower.js | ||
lint: | ||
uses: open-contracting/.github/.github/workflows/js.yml@main | ||
with: | ||
filenames: docs/_static/show-shower.js |
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 |
---|---|---|
@@ -1,33 +1,9 @@ | ||
name: Lint | ||
on: [push, pull_request] | ||
env: | ||
BASEDIR: https://raw.githubusercontent.com/open-contracting/standard-maintenance-scripts/main | ||
jobs: | ||
build: | ||
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository | ||
runs-on: ubuntu-latest | ||
env: | ||
PAT: ${{ secrets.PAT }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
token: ${{ secrets.PAT || github.token }} | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.10' | ||
cache: pip | ||
cache-dependency-path: '**/requirements*.txt' | ||
- id: changed-files | ||
uses: tj-actions/changed-files@v45 | ||
- uses: pre-commit/[email protected] | ||
continue-on-error: true | ||
with: | ||
extra_args: pip-compile --files ${{ steps.changed-files.outputs.all_changed_files }} | ||
- if: ${{ env.PAT }} | ||
uses: stefanzweifel/git-auto-commit-action@v5 | ||
with: | ||
commit_message: '[github-actions] pre-commit autoupdate' | ||
- shell: bash | ||
run: curl -s -S --retry 3 $BASEDIR/tests/install.sh | bash - | ||
- shell: bash | ||
run: curl -s -S --retry 3 $BASEDIR/tests/script.sh | bash - | ||
lint: | ||
uses: open-contracting/.github/.github/workflows/lint.yml@main | ||
permissions: | ||
contents: write | ||
with: | ||
python-version: '3.10' |
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 |
---|---|---|
@@ -1,14 +1,5 @@ | ||
name: Lint Shell | ||
on: [push, pull_request] | ||
jobs: | ||
build: | ||
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: | | ||
sudo apt update | ||
sudo apt install devscripts shellcheck shfmt | ||
- run: checkbashisms $(shfmt -f .) | ||
- run: shellcheck $(shfmt -f .) | ||
- run: shfmt -d -i 4 -sr $(shfmt -f .) | ||
lint: | ||
uses: open-contracting/.github/.github/workflows/shell.yml@main |
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 |
---|---|---|
@@ -1,13 +1,8 @@ | ||
name: Spell-check | ||
on: [push, pull_request] | ||
jobs: | ||
build: | ||
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.10' | ||
- run: pip install codespell | ||
- run: codespell -S .git,docson,locale,currency.csv,language.csv -L extensiones,zar . | ||
lint: | ||
uses: open-contracting/.github/.github/workflows/spellcheck.yml@main | ||
with: | ||
ignore: extensiones,zar | ||
skip: docson,locale,currency.csv,language.csv |
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