Skip to content

Commit

Permalink
Add lint test
Browse files Browse the repository at this point in the history
  • Loading branch information
soffes committed Jan 3, 2024
1 parent 6e1be8b commit aefc557
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 6 deletions.
27 changes: 21 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,28 @@ name: Tests
on: [push]
jobs:
test:
name: Test Swift Package
name: Test
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v1
- uses: actions/setup-ruby@v1
- name: 'Install Dependencies'
run: sudo apt-get install libcurl4-openssl-dev && gem install bundler && bundle install
- name: 'Test'
- name: Checkout
uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Test
run: bundle exec rake test
lint:
name: Lint
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Test
run: bundle exec rake standard
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.2.2
1 change: 1 addition & 0 deletions .standard.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ruby_version: 3.2

0 comments on commit aefc557

Please sign in to comment.