Skip to content

Commit

Permalink
ci: add workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
zbiljic committed Mar 25, 2024
1 parent 08af2bb commit bb92827
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/actions/install-action/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: "Install Steps"
description: 'Install dotfiles locally'
runs:
using: "composite"
steps:
- name: Install
shell: bash
run: |
bash install.sh --no-tty --progress false
42 changes: 42 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: CI

on:
push:
branches:
- main
- renovate/**
paths-ignore:
- "**.md"
pull_request:
paths-ignore:
- "**.md"
merge_group:
workflow_dispatch:

permissions:
contents: read
pull-requests: read

jobs:
test-linux-amd64:
runs-on: ${{ vars.RUNNER || 'ubuntu-latest' }}
timeout-minutes: 20

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Use local install-action
uses: ./.github/actions/install-action

test-linux-arm64:
if: ${{ vars.RUNNER_ARM }}
runs-on: ${{ vars.RUNNER_ARM }}
timeout-minutes: 20

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Use local install-action
uses: ./.github/actions/install-action

0 comments on commit bb92827

Please sign in to comment.