Commit Graph

27 Commits

Author SHA1 Message Date
dependabot[bot]
723be739c1 Bump actions/checkout from 5 to 6
Some checks failed
check / Stackage check (push) Has been cancelled
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-24 11:13:57 +01:00
dependabot[bot]
1b79a2c5cd
Bump actions/checkout from 4 to 5 (#7827)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-26 21:15:48 -07:00
Jens Petersen
97d791196f bump GH action to ubuntu-latest 2025-07-14 14:14:52 +08:00
Mihai Maruseac
150da98401
Add lts24 branch to CI, remove lts22
Signed-off-by: Mihai Maruseac <mihai.maruseac@gmail.com>
2025-07-13 11:39:30 -07:00
Bryan Richter
d5cf56f232
Commit some changes that have been around forever
I don't know if these will fix CI, but I guess they won't hurt.
2025-06-10 20:58:04 +03:00
Jens Petersen
c40046121b update GH image action for lts23 2024-12-09 13:12:47 +05:30
dependabot[bot]
46b3ce4f5b
Bump actions/checkout from 3 to 4 (#7305)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-05 07:18:59 +01:00
dependabot[bot]
10b8304cd7
Bump actions/cache from 3 to 4
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-05 06:11:26 +00:00
Mihai Maruseac
7245bf7d2f
Prepare for new LTS
Signed-off-by: Mihai Maruseac <mihai.maruseac@gmail.com>
2023-12-15 21:40:53 -08:00
Andreas Ländle
56d27e1cfe
Update image.yml to build lts21 branch image. 2023-06-19 18:16:07 +02:00
Jens Petersen
3739c7aaeb update GH actions to v3 2023-01-04 15:52:23 +08:00
Jens Petersen
14e465b3a1 GH check action: bump to ubuntu-22.04
because stack defaults ghc-9.4.3 to a bindist that needs glibc-2.32
2022-11-19 21:23:27 +08:00
Mihai Maruseac
b05a7b08ea Change CI to lts20
Signed-off-by: Mihai Maruseac <mihai.maruseac@gmail.com>
2022-11-15 16:37:08 -08:00
nathannaveen
d848a54838 chore: Set permissions for GitHub actions
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

Signed-off-by: nathannaveen <42319948+nathannaveen@users.noreply.github.com>
2022-05-31 21:40:42 -07:00
Jens Petersen
70317ea1c4 GH image action: lts19 branch 2022-03-17 17:08:51 +08:00
Michael Snoyman
0c5bc988e1
Enable image workflow 2021-08-19 12:14:58 +03:00
Jens Petersen
a0a3df145f disable the GHA for building images since we are not using it yet 2021-07-02 17:22:49 +08:00
Jens Petersen
37809469d0 GH check action: try restricting to the master branch 2021-06-17 23:35:33 +08:00
Jens Petersen
113a8313db github docker registry requires image name below repository name
name unknown: docker image push is only supported with a tag of the format :owner/:repo_name/:image_name.
		Please add an image name to "commercialhaskell/stackage" tag. e.g. "commercialhaskell/stackage/<image_name>"
2021-06-17 23:29:38 +08:00
Jens Petersen
14f4d3b79f GH image: fix branch tag 2021-06-17 22:59:33 +08:00
Jens Petersen
ceaa6825ab add GH workflow action to create the build image
Based on https://github.com/fpco/stackage-server/blob/master/.github/workflows/base.yml

Image is pushed to docker.pkg.github.com.
Later we should switch from docker to current beta container registry ghcr.io
2021-06-17 22:24:23 +08:00
Jens Petersen
b9f1c635c1 GH workflow: we don't actually use haskell/actions just our own stack 2021-06-17 14:35:35 +08:00
Jens Petersen
2dcb7d8e8f .github: drop the hardcoding of cabal-install 2021-04-15 11:27:29 +08:00
Jens Petersen
98e53dc17e github workflow: also specify cabal-install default 3.4 to avoid pulling 3.2 2021-02-21 02:45:36 +08:00
Jens Petersen
a4e107cbe1 github workflow: specify ghc 8.10 - ubuntu 8.10.3 currently 2021-02-21 02:37:53 +08:00
Jens Petersen
fcc5ea235f github workflow: specify ghc version for completeness 2021-02-21 02:25:47 +08:00
Jens Petersen
e2ac7b6308 add github workflow check action 2021-02-17 11:29:21 +08:00