Skip to content

Commit

Permalink
Test updated golangci config
Browse files Browse the repository at this point in the history
  • Loading branch information
joohoi committed Dec 15, 2024
1 parent 4ca70ad commit 1d69312
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
29 changes: 14 additions & 15 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,25 @@ on:
tags:
- v*
branches:
- main
- master
pull_request:
schedule:
# Run every 12 hours, at the 15 minute mark. E.g.
# 2020-11-29 00:15:00 UTC, 2020-11-29 12:15:00 UTC, 2020-11-30 00:15:00 UTC
- cron: '15 */12 * * *'

permissions:
contents: read
# Optional: allow read access to pull request. Use with `only-new-issues` option.
# pull-requests: read

jobs:
golangci:
name: Lint Sourcecode
name: lint
runs-on: ubuntu-latest
steps:
- name: Setup Go
uses: actions/setup-go@v3
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.18.4

- name: Check out code
uses: actions/checkout@v3

- name: Run golangci-lint
uses: golangci/golangci-lint-action@v3
go-version: stable
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.48
version: v1.60
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module github.com/joohoi/acme-dns

go 1.22
toolchain go1.22.0

require (
github.com/BurntSushi/toml v1.4.0
Expand Down

0 comments on commit 1d69312

Please sign in to comment.