Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
lihaoyi committed Sep 12, 2024
1 parent 222dbc4 commit 0aed111
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
3 changes: 0 additions & 3 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,3 @@ Please don't open issues for questions, but ask in our Discussions forum at http

Mill installations via `coursier` or `cs` are unsupported.

Pull requests should be kept as drafts until ready for review and final merge, to avoid
being bottlenecked on the Github Actions budget of the Mill repo (Actions on draft PRs
will instead run on the author's Github Actions budget)
4 changes: 2 additions & 2 deletions .github/workflows/draft-status.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
--header 'authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' \
--header 'content-type: application/json' \
--data '{
"state": "pending",
"context": "Link to Draft CI",
"state": "{{ github.event.workflow_run.conclusion }}",
"context": "Link to Fork CI",
"target_url": "${{ github.event.workflow_run.html_url }}"
}' \
--fail-with-body
6 changes: 3 additions & 3 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ name: Run Tests
# - All tests on Linux/Java17
# - Fewer tests on Linux/Java11 and Windows/Java17
# - Fewest tests on Windows/Java11

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

Expand All @@ -23,15 +26,13 @@ jobs:
# Jobs are listed in rough order of priority: if multiple jobs fail, the first job
# in the list should be the one that's most worth looking into
build-linux:
if: github.event.pull_request.draft == false
uses: ./.github/workflows/run-mill-action.yml
with:
java-version: '11'
millargs: __.compile
populate_cache: true

build-windows:
if: github.event.pull_request.draft == false
uses: ./.github/workflows/run-mill-action.yml
with:
os: windows-latest
Expand All @@ -40,7 +41,6 @@ jobs:
populate_cache: true

test-docs:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 0aed111

Please sign in to comment.