@@ -38,28 +38,28 @@ jobs:
38
38
- 1.6.0
39
39
- stable
40
40
steps :
41
- - uses : actions/checkout@v2
42
- - name : Cache choosenim
43
- id : cache-choosenim
44
- uses : actions/cache@v1
45
- with :
46
- path : ~/.choosenim
47
- key : ${{ runner.os }}-choosenim-${{ matrix.nim-version }}
48
- - name : Cache nimble
49
- id : cache-nimble
50
- uses : actions/cache@v1
51
- with :
52
- path : ~/.nimble
53
- key : ${{ runner.os }}-nimble-${{ matrix.nim-version }}
54
- - uses : jiro4989/setup-nim-action@v1
55
- with :
56
- nim-version : ${{ matrix.nim-version }}
57
- - name : Package Refresh
58
- run : nimble refresh
59
- - name : Build
60
- run : nimble build -Y
61
- - name : Install
62
- run : nimble install -Y
41
+ - uses : actions/checkout@v2
42
+ - name : Cache choosenim
43
+ id : cache-choosenim
44
+ uses : actions/cache@v1
45
+ with :
46
+ path : ~/.choosenim
47
+ key : ${{ runner.os }}-choosenim-${{ matrix.nim-version }}
48
+ - name : Cache nimble
49
+ id : cache-nimble
50
+ uses : actions/cache@v1
51
+ with :
52
+ path : ~/.nimble
53
+ key : ${{ runner.os }}-nimble-${{ matrix.nim-version }}
54
+ - uses : jiro4989/setup-nim-action@v1
55
+ with :
56
+ nim-version : ${{ matrix.nim-version }}
57
+ - name : Package Refresh
58
+ run : nimble refresh
59
+ - name : Build
60
+ run : nimble build -Y
61
+ - name : Install
62
+ run : nimble install -Y
63
63
64
64
test-on-docker :
65
65
runs-on : ubuntu-latest
@@ -70,17 +70,17 @@ jobs:
70
70
- 1.6.4-ubuntu-regular
71
71
- 1.6.6-ubuntu-regular
72
72
steps :
73
- - uses : actions/checkout@v2
74
- - name : Build docker image
75
- run : docker-compose build --build-arg IMAGE_TAG=${{ matrix.image-tag }} app-ubuntu
76
- - name : Test
77
- run : docker-compose run app-ubuntu sh /root/project/runTest.sh
78
- - name : Test multi-thread
79
- run : |
80
- echo '' >> tests/config.nims
81
- echo 'switch("threads", "on")' >> tests/config.nims
82
- echo 'switch("threadAnalysis", "off")' >> tests/config.nims
83
- docker-compose run app-ubuntu sh /root/project/runTest.sh
73
+ - uses : actions/checkout@v2
74
+ - name : Build docker image
75
+ run : docker-compose build --build-arg IMAGE_TAG=${{ matrix.image-tag }} app-ubuntu
76
+ - name : Test
77
+ run : docker-compose run app-ubuntu sh /root/project/runTest.sh
78
+ - name : Test multi-thread
79
+ run : |
80
+ echo '' >> tests/config.nims
81
+ echo 'switch("threads", "on")' >> tests/config.nims
82
+ echo 'switch("threadAnalysis", "off")' >> tests/config.nims
83
+ docker-compose run app-ubuntu sh /root/project/runTest.sh
84
84
85
85
create-tag-draft :
86
86
runs-on : ubuntu-latest
89
89
- build
90
90
- test-on-docker
91
91
steps :
92
- - uses : release-drafter/release-drafter@v5.3.1
92
+ - name : Release Drafter
93
+ uses : release-drafter/release-drafter@v5.19.0
93
94
env :
94
95
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
0 commit comments