Skip to content

ci: debug ci

ci: debug ci #129

Workflow file for this run

name: "Test"
on:
push:
pull_request:
permissions:
# To create a new release
contents: write
jobs:
build:
strategy:
fail-fast: false
matrix:
os:
- name: linux
id: ubuntu-latest
- name: macos
id: macos-latest
runs-on: ${{ matrix.os.id }}
steps:
- uses: DeterminateSystems/nix-installer-action@main
with:
extra-conf: |
substituters = https://cl-nix-lite.cachix.org https://cache.nixos.org/
trusted-public-keys = cl-nix-lite.cachix.org-1:ab6+b0u2vxymMLcZ5DDqPKnxz0WObbMszmC+BDBHpFc= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: actions/checkout@v4
- name: Channel-based Nix
run: nix-build
- name: "Flake: regular build"
run: "nix build --print-build-logs"
# This will need to recompile SBCL
- name: "Flake: build with purged Nix references"
run: "nix build --print-build-logs .#norefs"
- name: "Upload stand-alone binary"
uses: actions/upload-artifact@v4
with:
name: git-hly-${{ matrix.os.name }}
path: result/bin/git-hly
release:
# if: "github.ref == 'refs/heads/master'" NOMERGE
needs:
- build
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v4
- run: |
for f in *; do
(
cd $f
chmod +x *
tar cjvf $f.tar.bz2 *
mv *.bz2 ..
)
done
- uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: latest
prerelease: true
files: "git-hly*bz2

Check failure on line 64 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

You have an error in your yaml syntax on line 64
nocommit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: nobssoftware/nocommit@v2
name: nocommit