Skip to content

Commit 180fa6f

Browse files
committed
prepare for review
1 parent 26f0428 commit 180fa6f

File tree

3 files changed

+91
-92
lines changed

3 files changed

+91
-92
lines changed
Lines changed: 64 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,64 @@
1-
#name: CI
2-
#
3-
#on:
4-
# push:
5-
# branches: [ main ]
6-
# pull_request:
7-
# branches:
8-
# - main
9-
# - 'feat-*'
10-
# workflow_dispatch:
11-
#
12-
#env:
13-
# PACKAGE_NAME: aws-kotlin-repo-tools
14-
# RUN: ${{ github.run_id }}-${{ github.run_number }}
15-
#
16-
#jobs:
17-
# linux-compat:
18-
# runs-on: ubuntu-latest
19-
# steps:
20-
# - name: Checkout sources
21-
# uses: actions/checkout@v2
22-
# - uses: actions/cache@v4
23-
# with:
24-
# path: |
25-
# ~/.gradle/caches
26-
# ~/.gradle/wrapper
27-
# key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
28-
# restore-keys: |
29-
# ${{ runner.os }}-gradle-
30-
# - name: Configure Gradle
31-
# uses: ./.github/actions/configure-gradle
32-
# - name: Build and Test ${{ env.PACKAGE_NAME }}
33-
# run: |
34-
# ./gradlew build
35-
#
36-
# macos-compat:
37-
# runs-on: macos-latest
38-
# steps:
39-
# - name: Checkout sources
40-
# uses: actions/checkout@v2
41-
# - uses: actions/cache@v4
42-
# with:
43-
# path: |
44-
# ~/.gradle/caches
45-
# ~/.gradle/wrapper
46-
# key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
47-
# restore-keys: |
48-
# ${{ runner.os }}-gradle-
49-
# - name: Configure Gradle
50-
# uses: ./.github/actions/configure-gradle
51-
# - name: Build and Test ${{ env.PACKAGE_NAME }}
52-
# run: |
53-
# ./gradlew build
54-
#
55-
# windows-compat:
56-
# runs-on: windows-latest
57-
# steps:
58-
# - name: Checkout sources
59-
# uses: actions/checkout@v2
60-
# - name: Configure Gradle
61-
# uses: ./.github/actions/configure-gradle
62-
# - name: Build and Test ${{ env.PACKAGE_NAME }}
63-
# run: |
64-
# ./gradlew build
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches:
8+
- main
9+
- 'feat-*'
10+
workflow_dispatch:
11+
12+
env:
13+
PACKAGE_NAME: aws-kotlin-repo-tools
14+
RUN: ${{ github.run_id }}-${{ github.run_number }}
15+
16+
jobs:
17+
linux-compat:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- name: Checkout sources
21+
uses: actions/checkout@v2
22+
- uses: actions/cache@v4
23+
with:
24+
path: |
25+
~/.gradle/caches
26+
~/.gradle/wrapper
27+
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
28+
restore-keys: |
29+
${{ runner.os }}-gradle-
30+
- name: Configure Gradle
31+
uses: ./.github/actions/configure-gradle
32+
- name: Build and Test ${{ env.PACKAGE_NAME }}
33+
run: |
34+
./gradlew build
35+
36+
macos-compat:
37+
runs-on: macos-latest
38+
steps:
39+
- name: Checkout sources
40+
uses: actions/checkout@v2
41+
- uses: actions/cache@v4
42+
with:
43+
path: |
44+
~/.gradle/caches
45+
~/.gradle/wrapper
46+
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
47+
restore-keys: |
48+
${{ runner.os }}-gradle-
49+
- name: Configure Gradle
50+
uses: ./.github/actions/configure-gradle
51+
- name: Build and Test ${{ env.PACKAGE_NAME }}
52+
run: |
53+
./gradlew build
54+
55+
windows-compat:
56+
runs-on: windows-latest
57+
steps:
58+
- name: Checkout sources
59+
uses: actions/checkout@v2
60+
- name: Configure Gradle
61+
uses: ./.github/actions/configure-gradle
62+
- name: Build and Test ${{ env.PACKAGE_NAME }}
63+
run: |
64+
./gradlew build

.github/workflows/lint.yml

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
1-
#name: Lint
2-
#
3-
#on:
4-
# push:
5-
# branches:
6-
# - '**'
7-
# - '!main'
8-
# pull_request:
9-
# branches: [ main ]
10-
# workflow_dispatch:
11-
#
12-
#env:
13-
# PACKAGE_NAME: aws-kotlin-repo-tools
14-
#
15-
#jobs:
16-
# ktlint:
17-
# runs-on: ubuntu-latest
18-
# steps:
19-
# - name: Checkout sources
20-
# uses: actions/checkout@v2
21-
# - name: Run ls
22-
# run: ls & pwd
23-
# - name: Configure Gradle
24-
# uses: ./.github/actions/configure-gradle
25-
# - name: Lint ${{ env.PACKAGE_NAME }}
26-
# run: |
27-
# ./gradlew ktlint
1+
name: Lint
2+
3+
on:
4+
push:
5+
branches:
6+
- '**'
7+
- '!main'
8+
pull_request:
9+
branches: [ main ]
10+
workflow_dispatch:
11+
12+
env:
13+
PACKAGE_NAME: aws-kotlin-repo-tools
14+
15+
jobs:
16+
ktlint:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Checkout sources
20+
uses: actions/checkout@v2
21+
- name: Run ls
22+
run: ls & pwd
23+
- name: Configure Gradle
24+
uses: ./.github/actions/configure-gradle
25+
- name: Lint ${{ env.PACKAGE_NAME }}
26+
run: |
27+
./gradlew ktlint

.github/workflows/run-release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
name: Release
22

33
on:
4-
pull_request: # TODO: REMOVE
54
workflow_dispatch:
65
inputs:
76
version-override:

0 commit comments

Comments
 (0)