Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

♻️ :: Prefer GitHub Actions over Travis-CI #13

Merged
merged 3 commits into from
May 15, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
♻️ :: Prefer GitHub Actions over Travis-CI
  • Loading branch information
fxm90 committed May 15, 2021
commit 9ada5de9702d4fed29d4fdb77bf0d5e404e957bc
47 changes: 47 additions & 0 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
#
# github-actions.yml
# Created by Felix Mau (https://felix.hamburg)
#

name: Continuous Integration
on: [push]
jobs:
build-and-test:
runs-on: macos-latest

steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."

- name: Check out repository code
uses: actions/checkout@v2
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner."

- name: Install dependencies
working-directory: ./Example
run: |
bundle install

- name: Execute SwiftFormat and treat any formatting errors as real errors.
working-directory: ./Example
run: |
bundle exec fastlane format

- name: Execute SwiftLint and treat any formatting errors as real errors.
working-directory: ./Example
run: |
bundle exec fastlane format

- name: Execute tests.
working-directory: ./Example
run: |
bundle exec fastlane tests

- name: Execute validation of library.
working-directory: ./Example
run: |
bundle exec fastlane pod_lint

- run: echo "🍏 This job's status is ${{ job.status }}."
17 changes: 0 additions & 17 deletions .travis.yml

This file was deleted.