Skip to content

Commit

Permalink
Merge pull request #102 from smlx/workflows
Browse files Browse the repository at this point in the history
chore: update workflows
  • Loading branch information
smlx committed Apr 11, 2023
2 parents 0a7c735 + 1832cb6 commit 3c7be4a
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/codeql-analysis.yaml
Expand Up @@ -17,7 +17,8 @@ jobs:
strategy:
fail-fast: false
matrix:
language: [ 'go' ]
language:
- 'go'
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
steps:
- name: Checkout repository
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/commitlint.yaml
Expand Up @@ -10,4 +10,4 @@ jobs:
with:
fetch-depth: 0
- name: Lint Commits
uses: wagoid/commitlint-github-action@v5.3.1
uses: wagoid/commitlint-github-action@v5
4 changes: 2 additions & 2 deletions .github/workflows/coverage.yaml
Expand Up @@ -17,12 +17,12 @@ jobs:
- name: Set up go
uses: actions/setup-go@v4
with:
go-version: "^1.15"
go-version: stable
- name: Calculate coverage
run: go test -v -covermode=count -coverprofile=coverage.out
- name: Convert coverage to lcov
uses: jandelgado/gcov2lcov-action@v1.0.9
- name: Coveralls
uses: coverallsapp/github-action@v2.0.0
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.github_token }}
2 changes: 1 addition & 1 deletion .github/workflows/tag-release.yaml
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Setup go
uses: actions/setup-go@v4
with:
go-version: "^1.15"
go-version: stable
- name: Install ccv
run: go get github.com/smlx/ccv
- name: Bump tag if necessary
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Expand Up @@ -14,6 +14,6 @@ jobs:
- name: Set up go
uses: actions/setup-go@v4
with:
go-version: "^1.15"
go-version: stable
- name: Run tests
run: go test -v .

0 comments on commit 3c7be4a

Please sign in to comment.