chore: e2e-security moved to weekly ci (#854) #681
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: Lucky CLI Main CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: "*" | |
env: | |
FORCE_COLOR: 1 | |
EARTHLY_CI: 'true' | |
EARTHLY_ALLOW_PRIVILEGED: 'true' | |
jobs: | |
specs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: earthly/actions-setup@v1 | |
with: | |
version: v0.8.0 | |
- uses: actions/checkout@v4 | |
- name: Run build | |
run: | | |
earthly +gh-action-essential | |
platform-specs: | |
needs: specs | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- {os: macos-latest} | |
- {os: windows-latest} | |
runs-on: ${{matrix.os}} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: crystal-lang/install-crystal@v1 | |
- name: Install shards | |
run: shards install | |
- name: Run specs | |
run: crystal spec --tag "~integration" | |
integration-specs: | |
needs: specs | |
runs-on: ubuntu-latest | |
steps: | |
- uses: earthly/actions-setup@v1 | |
with: | |
version: v0.8.0 | |
- uses: actions/checkout@v4 | |
- name: Run build | |
run: | | |
earthly +gh-action-integration | |
e2e-specs: | |
needs: integration-specs | |
runs-on: ubuntu-latest | |
steps: | |
- uses: earthly/actions-setup@v1 | |
with: | |
version: v0.8.0 | |
- uses: actions/checkout@v4 | |
- name: Run build | |
run: | | |
earthly +gh-action-e2e |