Skip to content

Commit

Permalink
fix: add multiline run, workflow dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
WhySoBad committed Nov 21, 2024
1 parent b7d01f8 commit b5bab49
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Build hyprland-virtual-desktops

on:
on:
push:
branches:
- main
Expand All @@ -11,8 +11,10 @@ on:
- dev

jobs:
gcc_main:
name: 'Build hyprland-virtual-desktops (main)'
check-format:
uses: ./format.yaml
build:
name: 'Build hyprland-virtual-desktops'
runs-on: ubuntu-latest
container:
image: archlinux
Expand All @@ -22,7 +24,6 @@ jobs:
with:
sparse-checkout: .github/actions


- name: Setup base on main
uses: ./.github/actions/setup_base
if: github.ref == 'refs/heads/main'|| github.base_ref == 'main'
Expand All @@ -46,7 +47,7 @@ jobs:
make install
- name: Build hyprland-virtual-desktops
env:
env:
PKG_CONFIG_PATH: "/usr/local/share/pkgconfig/"
run: |
make all
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/format.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: Check code formatting

on:
push:
workflow_dispatch:

jobs:
Expand All @@ -18,7 +17,7 @@ jobs:

- name: Install clang
shell: bash
run:
run: |
sed -i 's/SigLevel = Required DatabaseOptional/SigLevel = Optional TrustAll/' /etc/pacman.conf
pacman --noconfirm --noprogressbar -Syyu
pacman --noconfirm --noprogressbar -Sy clang
Expand Down

0 comments on commit b5bab49

Please sign in to comment.