Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
7 changes: 6 additions & 1 deletion .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@
runs:
using: composite
steps:
- uses: ruby/setup-ruby@v1
- name: Install system requirements
uses: awalsh128/cache-apt-pkgs-action@latest

Check warning on line 8 in .github/actions/setup/action.yml

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

.github/actions/setup/action.yml#L8

An action sourced from a third-party repository on GitHub is not pinned to a full length commit SHA. Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release.
with:
packages: assimp-utils
- name: Set up Ruby and install gems
uses: ruby/setup-ruby@v1

Check warning on line 12 in .github/actions/setup/action.yml

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

.github/actions/setup/action.yml#L12

An action sourced from a third-party repository on GitHub is not pinned to a full length commit SHA. Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release.
with:
bundler-cache: true
- name: Enable Corepack
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,14 @@ jobs:
RAILS_ENV: test
DATABASE_URL: ${{ matrix.database_url }}
steps:
- name: Install requirements
run: sudo apt install -y assimp-utils
- uses: actions/checkout@v5
- uses: ./.github/actions/setup
- name: Set up database with prepare command so we catch any migration explosions
run: bundle exec rails db:prepare:with_data
- name: Compile assets
run: bundle exec rails assets:precompile
- name: Run tests
run: bundle exec rake
run: bundle exec rspec --fail-fast
- name: Upload Coverage
env:
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}
Expand Down
Loading