Skip to content

feat: menambahkan algoritma faktorial #9

feat: menambahkan algoritma faktorial

feat: menambahkan algoritma faktorial #9

Workflow file for this run

name: Zig workflows
on:
pull_request:
branches: [main]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- name: checkout Kode
uses: actions/checkout@v3
- name: setup zig
uses: goto-bus-stop/setup-zig@v2
with:
version: 0.11.0
cache: false
- name: format kode zig
run: zig fmt .
- name: testing kode zig
if: (startsWith(matrix.runs-on, 'ubuntu')) || (startsWith(matrix.runs-on, 'macos'))
run: sh runtest.sh
- name: testing kode zig di windows
if: (startsWith(matrix.runs-on, 'windows')

Check failure on line 34 in .github/workflows/zig.yml

View workflow run for this annotation

GitHub Actions / Zig workflows

Invalid workflow file

The workflow is not valid. .github/workflows/zig.yml (Line: 34, Col: 13): Unexpected end of expression: ')'. Located at position 38 within expression: (startsWith(matrix.runs-on, 'windows')
run: ./runtest.cmd
linting-kode-zig:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: goto-bus-stop/setup-zig@v2
with:
version: 0.11.0
cache: false
- run: zig fmt --check --ast-check .