Skip to content

Commit

Permalink
squash! Merge branch 'master' into validate-actions
Browse files Browse the repository at this point in the history
GitHub keeps insisting on inventing conflicts with `master` that
local git knows don't exist, so I keep having to make merge
commits that remove its idiocy and then mark them for autosquash
manually. Someone please fix GitHub.
  • Loading branch information
geekosaur committed Dec 25, 2024
2 parents 08450d4 + cf22b35 commit 66bd645
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ GHC_FOR_VALIDATE: '["9.10.1", "9.8.2", "9.6.6", "9.4.8", "9.2.8", "9.0.2", "8.10
GHC_FOR_VALIDATE_OLD: '["8.4.4", "8.2.2", "8.0.2"]'
#
COMMON_FLAGS: -j 2 -v
LTS_BRANCH: '3.12'
LTS_RELEASE: '3.12'
2 changes: 1 addition & 1 deletion .github/workflows/check-sdist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
# release of a corresponding Cabal and friends. it can also be short since it's
# highly unlikely that we are releasing really old branches.
ghc:
["9.10.1", "9.8.1", "9.6.1"]
["9.12.1", "9.10.1", "9.8.1", "9.6.1"]

steps:

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/prerelease-lts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:

- uses: actions/checkout@v4
with:
ref: ${{ needs.config.outputs.LTS_BRANCH }}
ref: ${{ needs.config.outputs.LTS_RELEASE }}

# We were making prereleases with validate builds, so I will continue to do so
- uses: ./.github/actions/validate-build
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:
permissions:
contents: write

needs: [prerelease-build-most, prerelease-build-alpine]
needs: [config, prerelease-build-most, prerelease-build-alpine]

steps:
- uses: liudonghua123/delete-release-action@v1
Expand All @@ -134,6 +134,6 @@ jobs:
uses: softprops/action-gh-release@v2
with:
tag_name: cabal-lts-head
target_committish: ${{ needs.config.outputs.LTS_BRANCH }}
target_commitish: ${{ needs.config.outputs.LTS_RELEASE }}
prerelease: true
files: binaries/cabal-*
8 changes: 4 additions & 4 deletions .github/workflows/tier-2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ jobs:
steps:
- run: ${{ needs.config.outputs.env }}

- run: ${{ matrix.os.prerequisites }}
- run: ${{ matrix.sys.prerequisites }}

- uses: actions/checkout@v4

Expand Down Expand Up @@ -175,7 +175,7 @@ jobs:
steps:
- run: ${{ needs.config.outputs.env }}

- run: ${{ matrix.os.prerequisites }}
- run: ${{ matrix.sys.prerequisites }}

- uses: ./.github/actions/cabal-setup
with:
Expand Down Expand Up @@ -239,7 +239,7 @@ jobs:
steps:
- run: ${{ needs.config.outputs.env }}

- run: ${{ matrix.os.prerequisites }}
- run: ${{ matrix.sys.prerequisites }}

- uses: ./.github/actions/cabal-setup
with:
Expand Down Expand Up @@ -300,7 +300,7 @@ jobs:
steps:
- run: ${{ needs.config.outputs.env }}

- run: ${{ matrix.os.prerequisites }}
- run: ${{ matrix.sys.prerequisites }}

- uses: ./.github/actions/cabal-setup
with:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ jobs:
with:
shell: ${{ matrix.sys.shell }}
ghc: ${{ matrix.ghc }}
allow-newer: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.allow_newer || '' }}
allow-newer: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.allow-newer || '' }}
constraints: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.constraints || '' }}

# We never validate this. We would probably have caught https://gitlab.haskell.org/ghc/ghc/-/issues/25087
Expand Down Expand Up @@ -179,7 +179,7 @@ jobs:
with:
ghc: ${{ env.GHC_FOR_RELEASE }}
static: 'true'
allow-newer: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.allow_newer || '' }}
allow-newer: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.allow-newer || '' }}
constraints: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.constraints || '' }}

# Thanks yet again to YAML-as-code, I need three of these now. This is abysmally stupid.
Expand Down Expand Up @@ -231,7 +231,7 @@ jobs:
with:
shell: ${{ matrix.sys.shell }}
ghc: ${{ matrix.ghc }}
allow-newer: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.allow_newer || '' }}
allow-newer: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.allow-newer || '' }}
constraints: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.constraints || '' }}

# Note: we rely on cabal and the test suites being already cached here. If they aren't, this
Expand Down Expand Up @@ -289,7 +289,7 @@ jobs:
with:
shell: ${{ matrix.sys.shell }}
ghc: ${{ matrix.ghc }}
allow-newer: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.allow_newer || '' }}
allow-newer: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.allow-newer || '' }}
constraints: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.constraints || '' }}

- run: |
Expand Down Expand Up @@ -319,7 +319,7 @@ jobs:
with:
shell: ${{ matrix.sys.shell }}
ghc: ${{ needs.config.outputs.GHC_FOR_SOLVER_BENCHMARKS }}
allow-newer: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.allow_newer || '' }}
allow-newer: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.allow-newer || '' }}
constraints: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.constraints || '' }}

- run: |
Expand Down Expand Up @@ -385,7 +385,7 @@ jobs:
with:
ghc: ${{ needs.config.outputs.GHC_FOR_RELEASE }}
shell: ${{ matrix.sys.shell }}
allow-newer: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.allow_newer || '' }}
allow-newer: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.allow-newer || '' }}
constraints: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.constraints || '' }}

# We use this job as a summary of the workflow
Expand Down

0 comments on commit 66bd645

Please sign in to comment.