Skip to content

Commit

Permalink
upd: dependabot for actions
Browse files Browse the repository at this point in the history
add: lint action
  • Loading branch information
maier committed Jun 9, 2021
1 parent bf3143f commit e08d9ea
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,9 @@ updates:
directory: "/"
schedule:
interval: "daily"

- package-ecosystem: "github-actions"
directory: "/"
schedule:
# Check for updates to GitHub Actions every weekday
interval: "daily"
24 changes: 24 additions & 0 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: golangci-lint
on:
push:
tags: [ "v*" ]
branches: [ master ]
pull_request:
branches: [ "*" ]

jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v2
with:
stable: true
go-version: 1.16.x
- uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.40
skip-go-installation: true
args: --timeout=5m

0 comments on commit e08d9ea

Please sign in to comment.