-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (37 loc) · 986 Bytes
/
test-ci.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
35
36
37
#name: Scala CI
#
#on:
# push:
# branches: [ "main" ]
# pull_request:
# branches: [ "main" ]
#
#permissions:
# contents: read
#
#jobs:
# check-changes:
# runs-on: ubuntu-latest
# outputs:
# all-relevant-changed: ${{ steps.changed-files-yaml.outputs.all-relevant_any_changed }}
# steps:
# - uses: actions/checkout@v4
# with:
# fetch-depth: 2
# ref: ${{ github.event.pull_request.head.sha }} # See: https://github.com/tj-actions/changed-files/discussions/1549
# - name: Get all relevant files that have changed
# id: changed-files-yaml
# uses: tj-actions/changed-files@v39
# with:
# since_last_remote_commit: 'true'
# files_yaml: |
# all-relevant:
# - '**'
# - '!**.md'
# build:
# runs-on: ubuntu-latest
# needs: [check-changes]
# if: needs.check-changes.outputs.all-relevant-changed == 'true'
#
# steps:
# - uses: actions/checkout@v4