File tree Expand file tree Collapse file tree 3 files changed +34
-57
lines changed
Expand file tree Collapse file tree 3 files changed +34
-57
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches : [ master, main ]
6+ pull_request :
7+ branches : [ master, main ]
8+
9+ jobs :
10+ build-and-test :
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - uses : actions/checkout@v4
15+
16+ - name : Setup Java
17+ uses : actions/setup-java@v4
18+ with :
19+ java-version : ' 21'
20+ distribution : ' temurin'
21+
22+ - name : Cache Maven dependencies
23+ uses : actions/cache@v4
24+ with :
25+ path : ~/.m2
26+ key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
27+ restore-keys : ${{ runner.os }}-m2
28+
29+ - name : Run tests
30+ run : mvn test
31+
32+ - name : Build project
33+ run : mvn clean package
Original file line number Diff line number Diff line change 11# File Compression
22
3- [ ![ CircleCI ] ( https://dl.circleci. com/status-badge/img/gh/ ayonious/File-Compression/tree/master .svg?style=svg )] ( https://dl.circleci. com/status-badge/redirect/gh/ ayonious/File-Compression/tree/master )
3+ [ ![ CI ] ( https://github. com/ayonious/File-Compression/workflows/CI/badge .svg )] ( https://github. com/ayonious/File-Compression/actions )
44[ ![ codecov] ( https://codecov.io/gh/ayonious/File-Compression/branch/master/graph/badge.svg )] ( https://codecov.io/gh/ayonious/File-Compression )
55[ ![ GitHub stars] ( https://img.shields.io/github/stars/ayonious/File-Compression?style=social )] ( https://github.com/ayonious/File-Compression/stargazers )
66
You can’t perform that action at this time.
0 commit comments