-
Notifications
You must be signed in to change notification settings - Fork 2
34 lines (32 loc) · 981 Bytes
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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'