scalafmt-native-action v4 #8
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: Release | |
on: | |
release: | |
types: [ created ] | |
jobs: | |
# Runs integration tests (builds the artifact and runs it as an action). | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ ubuntu-latest, macOS-latest ] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- run: npm ci # Install dependencies. | |
- run: npm run build # Build javascript. | |
- run: npm run package # Build action package. | |
- name: integration test (1.5.1) | |
uses: ./ | |
with: | |
version: 1.5.1 | |
arguments: '--test $(pwd)/.github/workflows/ci/Good.scala' | |
- name: integration test (2.7.5) | |
uses: ./ | |
with: | |
version: 2.7.5 | |
arguments: '--list .github/workflows/ci/Good.scala' | |
- name: integration test (3.5.8) | |
uses: ./ | |
with: | |
version: 3.5.8 | |
arguments: '-c .github/workflows/ci/.scalafmt-v3.5.8.conf --list .github/workflows/ci/Good.scala' |