Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 5 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true

env:
KOJA_VERSION: 0.16.0

jobs:
prettier:
name: Prettier
Expand All @@ -23,30 +20,20 @@ jobs:
run: npx prettier@latest --check .

test:
name: Test (${{ matrix.target }})
name: Test (${{ matrix.os }})
runs-on: ${{ matrix.os }}
timeout-minutes: 20
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-24.04
target: linux-x86_64
- os: ubuntu-24.04-arm
target: linux-arm64
os: [ubuntu-24.04, ubuntu-24.04-arm]
steps:
- uses: actions/checkout@v6

- name: Install koja
env:
GH_TOKEN: ${{ github.token }}
run: |
name="koja-v${KOJA_VERSION}-${{ matrix.target }}"
gh release download "v${KOJA_VERSION}" --repo koja-lang/koja \
--pattern "${name}.tar.gz" --pattern "${name}.tar.gz.sha256"
sha256sum -c "${name}.tar.gz.sha256"
tar -xzf "${name}.tar.gz"
echo "$PWD/${name}" >> "$GITHUB_PATH"
uses: koja-lang/setup-koja@v1
with:
koja-version: 0.16

- name: Koja format check
run: git ls-files '*.koja' | xargs koja format --check
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/build
/deps
/doc