Update SecTester 1.6.1 #45
Workflow file for this run
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: LuckySecTester CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: "*" | |
jobs: | |
check_format: | |
strategy: | |
fail-fast: false | |
runs-on: ubuntu-latest | |
continue-on-error: false | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: crystal-lang/install-crystal@v1 | |
with: | |
crystal: 1.6.0 | |
- name: Install shards | |
run: shards install | |
- name: Format | |
run: crystal tool format --check | |
- name: Lint | |
run: ./bin/ameba | |
specs: | |
strategy: | |
fail-fast: false | |
matrix: | |
crystal_version: | |
- 1.6.0 | |
- latest | |
experimental: | |
- false | |
include: | |
- crystal_version: nightly | |
experimental: true | |
runs-on: ubuntu-latest | |
continue-on-error: ${{ matrix.experimental }} | |
container: crystallang/crystal:${{ matrix.crystal_version }}-alpine | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: shards install | |
- name: Fake the nexploit-cli | |
run: echo '#!/usr/bin/env' > /usr/bin/nexploit-cli && chmod +x /usr/bin/nexploit-cli | |
- name: Run tests | |
run: crystal spec |