Skip to content

Commit

Permalink
Merge pull request #1 from jaeilers/feature/github-actions
Browse files Browse the repository at this point in the history
Feature: Add GitHub actions
  • Loading branch information
jaeilers authored Nov 11, 2023
2 parents d68397d + e2ccb1a commit 2d1c4d4
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: Setup
description: Set-up the dependencies of the project

runs:
using: composite
steps:
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
version: 2
updates:
# Updates workflows
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"

# Composite actions need to be updated separately
- package-ecosystem: "github-actions"
directory: "/.github/actions/setup"
schedule:
interval: "weekly"

- package-ecosystem: "bundler"
directory: "/"
schedule:
Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: CI
on:
pull_request:
push:
branches:
- main

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
run-tests:
runs-on: macos-13
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup
uses: ./.github/actions/setup

- name: Run tests
run: bundle exec fastlane test_all

0 comments on commit 2d1c4d4

Please sign in to comment.