Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Meta: update repository files #183

Merged
merged 1 commit into from
Jan 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ max_line_length = 100
[Makefile]
indent_style = tab

[*.md]
max_line_length = off

[*.bs]
indent_size = 1

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
name: Build

on:
pull_request:
branches:
- main
push:
branches:
- main
workflow_dispatch:

jobs:
build:
name: Build
Expand All @@ -17,6 +20,7 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: "3.11"
- run: pip install bikeshed && bikeshed update
# Note: `make deploy` will do a deploy dry run on PRs.
- run: make deploy
env:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ remote: mimesniff.bs
);

local: mimesniff.bs
bikeshed spec mimesniff.bs mimesniff.html --md-Text-Macro="COMMIT-SHA LOCAL COPY"
bikeshed spec mimesniff.bs mimesniff.html --md-Text-Macro="COMMIT-SHA LOCAL-COPY"

deploy: mimesniff.bs
curl --remote-name --fail https://resources.whatwg.org/build/deploy.sh
Expand Down