File tree 1 file changed +19
-7
lines changed
1 file changed +19
-7
lines changed Original file line number Diff line number Diff line change 1
- version : 2
1
+ version : 2.1
2
+ workflows :
3
+ main:
4
+ jobs:
5
+ - build :
6
+ - release:
7
+ # Only run this job on git tag pushes
8
+ filters:
9
+ branches:
10
+ ignore: /.*/
11
+ tags:
12
+ only: /v[0-9]+(\.[0-9]+)*(-.*)*/
2
13
jobs :
3
14
build:
4
15
environment:
5
16
GO111MODULE: "on"
6
17
docker:
7
- - image : circleci/golang:1.14
18
+ - image: circleci/golang:1.15
8
19
working_directory: /go/src/github.com/alecthomas/chroma
9
20
steps:
10
21
- checkout
23
34
command: |
24
35
go build ./...
25
36
./bin/golangci-lint run
26
- - run :
27
- name : Release
28
- command : |
29
- git clean -fdx .
30
- curl -sL https://git.io/goreleaser | bash && goreleaser
37
+ release:
38
+ docker:
39
+ - image: circleci/golang:1.15
40
+ steps:
41
+ - checkout
42
+ - run: curl -sL https://git.io/goreleaser | bash
You can’t perform that action at this time.
0 commit comments