fix: fix spacing for naked rounded class (#22) #62
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: Tails CI | |
on: | |
push: | |
branches: [main] | |
tags-ignore: ["v*"] | |
pull_request: | |
branches: [main] | |
create: | |
tags: ["v*"] | |
branches: main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}} | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- elixir: 1.14.0 | |
otp: 24 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- run: sudo apt-get install --yes erlang-dev | |
- uses: actions/checkout@v2 | |
- uses: erlef/setup-beam@v1 | |
with: | |
experimental-otp: true | |
otp-version: ${{matrix.otp}} | |
elixir-version: ${{matrix.elixir}} | |
- uses: actions/cache@v1 | |
id: cache-deps | |
with: | |
path: deps | |
key: otp-${{matrix.otp}}-elixir-${{matrix.elixir}}-deps-2-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }} | |
restore-keys: otp-${{matrix.otp}}-elixir-${{matrix.elixir}}-deps-2- | |
- uses: actions/cache@v1 | |
id: cache-build | |
with: | |
path: _build | |
key: otp-${{matrix.otp}}-elixir-${{matrix.elixir}}-build-2-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }} | |
restore-keys: otp-${{matrix.otp}}-elixir-${{matrix.elixir}}-build-2- | |
- run: mix deps.get | |
- run: mix check --except dialyzer | |
if: startsWith(github.ref, 'refs/tags/v') | |
- run: mix check | |
if: "!startsWith(github.ref, 'refs/tags/v')" | |
release: | |
needs: [build] | |
if: startsWith(github.ref, 'refs/tags/v') | |
runs-on: ubuntu-latest | |
name: Release | |
strategy: | |
matrix: | |
otp: ["24"] | |
elixir: ["1.14.0"] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- run: sudo apt-get install --yes erlang-dev | |
- uses: actions/checkout@v2 | |
- uses: erlef/setup-beam@v1 | |
with: | |
experimental-otp: true | |
otp-version: ${{matrix.otp}} | |
elixir-version: ${{matrix.elixir}} | |
- uses: actions/cache@v1 | |
id: cache-deps | |
with: | |
path: deps | |
key: otp-${{matrix.otp}}-elixir-${{matrix.elixir}}-deps-2-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }} | |
restore-keys: otp-${{matrix.otp}}-elixir-${{matrix.elixir}}-deps-2- | |
- run: mix deps.get | |
- run: mix compile | |
- run: mix hex.publish --yes | |
if: startsWith(github.ref, 'refs/tags/v') | |
env: | |
HEX_API_KEY: ${{ secrets.HEX_API_KEY }} |