Skip to content

Commit

Permalink
chore(github): update actions to latest versions
Browse files Browse the repository at this point in the history
  • Loading branch information
aerialls committed Jul 2, 2021
1 parent 2773097 commit baf4de9
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 12 deletions.
7 changes: 5 additions & 2 deletions .github/dependabot.yml
Expand Up @@ -4,5 +4,8 @@ updates:
directory: "/"
schedule:
interval: daily
time: '04:00'
open-pull-requests-limit: 10

- package-ecosystem: github-actions
directory: "/"
schedule:
interval: daily
6 changes: 3 additions & 3 deletions .github/workflows/golangci-lint.yml
Expand Up @@ -13,9 +13,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v2.3.4

- name: Lint
uses: golangci/golangci-lint-action@v2
uses: golangci/golangci-lint-action@v2.5.2
with:
version: v1.33
version: v1.41.1
11 changes: 7 additions & 4 deletions .github/workflows/release.yml
Expand Up @@ -10,23 +10,26 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v2.3.4
with:
fetch-depth: 0

- name: Setup Go
uses: actions/setup-go@v2
uses: actions/setup-go@v2.1.3
with:
go-version: 1.16

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1.4.1

- name: Login to DockerHub
uses: docker/login-action@v1
uses: docker/login-action@v1.10.0
with:
username: aerialls
password: ${{ secrets.DOCKER_HUB_TOKEN }}

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
uses: goreleaser/goreleaser-action@v2.6.1
with:
version: latest
args: release --rm-dist
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Expand Up @@ -7,15 +7,15 @@ jobs:
name: Test
strategy:
matrix:
go-version: [1.15, 1.16]
go-version: [1.16]
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v2.3.4

- name: Setup Go
uses: actions/setup-go@v2
uses: actions/setup-go@v2.1.3
with:
go-version: ${{ matrix.go-version }}

Expand Down

0 comments on commit baf4de9

Please sign in to comment.