Skip to content

update ghc versions #224

update ghc versions

update ghc versions #224

Workflow file for this run

{
"jobs": {
"image": {
"runs-on": "ubuntu-latest",
"steps": [
{
"uses": "aws-actions/configure-aws-credentials@v4",
"with": {
"aws-access-key-id": "${{ secrets.AWS_ACCESS_KEY_ID }}",
"aws-region": "${{ secrets.AWS_DEFAULT_REGION }}",
"aws-secret-access-key": "${{ secrets.AWS_SECRET_ACCESS_KEY }}"
}
},
{
"env": {
"GHC_VERSION": "${{ matrix.ghc }}"
},
"uses": "aws-actions/aws-codebuild-run-build@v1",
"with": {
"buildspec-override": "aws/image.yaml",
"env-vars-for-codebuild": "GHC_VERSION",
"project-name": "docker-haskell-${{ matrix.arch }}"
}
}
],
"strategy": {
"fail-fast": false,
"matrix": {
"include": [
{
"arch": "amd64",
"ghc": "9.8.4"
},
{
"arch": "amd64",
"ghc": "9.10.1"
},
{
"arch": "amd64",
"ghc": "9.12.1"
}
]
}
}
},
"manifest": {
"needs": "image",
"runs-on": "ubuntu-latest",
"steps": [
{
"uses": "aws-actions/configure-aws-credentials@v4",
"with": {
"aws-access-key-id": "${{ secrets.AWS_ACCESS_KEY_ID }}",
"aws-region": "${{ secrets.AWS_DEFAULT_REGION }}",
"aws-secret-access-key": "${{ secrets.AWS_SECRET_ACCESS_KEY }}"
}
},
{
"env": {
"GHC_VERSION": "${{ matrix.ghc }}",
"LATEST": "${{ github.ref == 'refs/heads/main' }}"
},
"uses": "aws-actions/aws-codebuild-run-build@v1",
"with": {
"buildspec-override": "aws/manifest.yaml",
"env-vars-for-codebuild": "GHC_VERSION,LATEST",
"project-name": "docker-haskell-amd64"
}
}
],
"strategy": {
"matrix": {

Check failure on line 72 in .github/workflows/workflow.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/workflow.yaml

Invalid workflow file

You have an error in your yaml syntax on line 72
"ghc": [
"9.8.2",
"9.10.1"
"9.12.1"
]
}
}
}
},
"name": "Workflow",
"on": "push"
}