Reflect the change of organization from glossia to tuist #65
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lightning CSS | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
concurrency: | |
group: lightning-css-${{ github.head_ref }} | |
cancel-in-progress: true | |
env: | |
DEBUG: 1 | |
OTP_VERSION: 25.0.4 | |
ELIXIR_VERSION: 1.15.0 | |
MIX_ENV: test | |
jobs: | |
credo: | |
name: Credo | |
runs-on: 'ubuntu-latest' | |
timeout-minutes: 15 | |
steps: | |
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4 | |
- uses: erlef/setup-elixir@v1 | |
with: | |
otp-version: ${{ env.OTP_VERSION }} | |
elixir-version: ${{ env.ELIXIR_VERSION }} | |
- name: Restore Cache | |
uses: actions/cache@v4 | |
id: mix-cache | |
with: | |
path: | | |
deps | |
_build | |
_site | |
key: mix-${{ hashFiles('mix.lock') }} | |
- run: mix deps.get | |
- run: mix credo | |
test: | |
name: Test | |
runs-on: 'ubuntu-latest' | |
timeout-minutes: 15 | |
steps: | |
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4 | |
- uses: erlef/setup-elixir@v1 | |
with: | |
otp-version: ${{ env.OTP_VERSION }} | |
elixir-version: ${{ env.ELIXIR_VERSION }} | |
- name: Restore Cache | |
uses: actions/cache@v4 | |
id: mix-cache | |
with: | |
path: | | |
deps | |
_build | |
_site | |
key: mix-${{ hashFiles('mix.lock') }} | |
- run: mix deps.get | |
- run: mix test |