Skip to content

Commit f54c6ca

Browse files
.
1 parent 18c5b3f commit f54c6ca

1 file changed

Lines changed: 0 additions & 36 deletions

File tree

.github/workflows/cicd.yaml

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -7,44 +7,8 @@ on:
77
branches: [cicd]
88

99
jobs:
10-
build-and-test:
11-
name: Build and Test
12-
runs-on: ubuntu-latest
13-
14-
steps:
15-
- name: Checkout code
16-
uses: actions/checkout@v4
17-
18-
- name: Set up JDK
19-
uses: actions/setup-java@v4
20-
with:
21-
java-version: "17"
22-
distribution: "temurin"
23-
cache: "gradle"
24-
25-
- name: Grant execute permission for gradlew
26-
run: chmod +x gradlew
27-
28-
- name: Format Kotlin code with ktfmt
29-
run: ./gradlew ktfmtFormat
30-
31-
- name: Build with Gradle
32-
run: ./gradlew build
33-
34-
- name: Run tests
35-
run: ./gradlew test
36-
37-
- name: Upload test results
38-
uses: actions/upload-artifact@v4
39-
if: always()
40-
with:
41-
name: test-results
42-
path: build/reports/tests/test
43-
4410
create-release:
4511
name: Create Release
46-
needs: build-and-test
47-
if: github.ref == 'refs/heads/cicd'
4812
runs-on: ubuntu-latest
4913

5014
steps:

0 commit comments

Comments
 (0)