Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
Cabal
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Glasgow Haskell Compiler
Packages
Cabal
Commits
5949e3fd
Commit
5949e3fd
authored
1 year ago
by
andreas.abel
Browse files
Options
Downloads
Patches
Plain Diff
CI "Check Field Syntax Reference": correct cache key
parent
ba6f6ffc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/quick-jobs.yml
+20
-4
20 additions, 4 deletions
.github/workflows/quick-jobs.yml
with
20 additions
and
4 deletions
.github/workflows/quick-jobs.yml
+
20
−
4
View file @
5949e3fd
...
...
@@ -113,16 +113,32 @@ jobs:
buildinfo
:
name
:
Check Field Syntax Reference
runs-on
:
ubuntu-latest
env
:
cabal_build
:
cabal build buildinfo-reference-generator
steps
:
-
uses
:
actions/cache@v4
with
:
path
:
~/.local/state/cabal
key
:
linux-store-buildinfo-doc-diff
-
name
:
Update Hackage index
run
:
cabal v2-update
-
uses
:
actions/checkout@v4
-
name
:
Generate build plan for correct cache key
run
:
${{ env.cabal_build }} --dry-run
-
name
:
Restore cached dependencies
uses
:
actions/cache/restore@v4
id
:
cache
with
:
path
:
~/.local/state/cabal
key
:
linux-store-buildinfo-doc-diff-${{ hashfiles('dist-newstyle/cache/plan.json') }}
restore-keys
:
linux-store-buildinfo-doc-diff
-
name
:
Build buildinfo-reference-generator
run
:
${{ env.cabal_build }}
-
name
:
Are buildinfo docs up to date?
run
:
make doc/buildinfo-fields-reference.rst
-
name
:
Cache dependencies
uses
:
actions/cache/save@v4
if
:
always() && steps.cache.outputs.cache-hit != 'true'
with
:
path
:
~/.local/state/cabal
key
:
${{ steps.cache.outputs.cache-primary-key }}
release-project
:
name
:
Check Release Project
runs-on
:
ubuntu-latest
...
...
This diff is collapsed.
Click to expand it.
Ben Gamari
@bgamari
mentioned in commit
f2999b3c
·
10 months ago
mentioned in commit
f2999b3c
mentioned in commit f2999b3c89ccfe081fdeae26e475b315e842e746
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment