Skip to content

Commit

Permalink
Upgrade Trunk & enable actionlint
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmytton committed Jan 13, 2023
1 parent bb73873 commit 915bdf7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,21 @@ name: Go CI
on: [push, pull_request]

jobs:

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19

- name: Build
run: go build -v ./...
- name: Build
run: go build -v ./...

- name: Test
run: go test -v ./... -race -coverprofile=coverage.txt -covermode=atomic
- name: Test
run: go test -v ./... -race -coverprofile=coverage.txt -covermode=atomic

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
5 changes: 3 additions & 2 deletions .trunk/trunk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@ plugins:
uri: https://github.com/trunk-io/plugins
lint:
enabled:
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- markdownlint@0.32.2
- markdownlint@0.33.0
- git-diff-check
- [email protected].1
- [email protected].2
runtimes:
enabled:
- [email protected]
Expand Down

0 comments on commit 915bdf7

Please sign in to comment.