Skip to content

Commit

Permalink
Add dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
ivancorrales committed Mar 1, 2022
1 parent 2380b4d commit 7fd5fa2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 20 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,24 @@ on:
workflow_dispatch:

jobs:
linters:
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: golangci-lint
uses: reviewdog/action-golangci-lint@v2
- name: hadolint
uses: hadolint/hadolint-action@v1.6.0
with:
dockerfile: Dockerfile
ci:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-20.04, macos-10.15, windows-2019 ]
runs-on: ${{ matrix.os }}
needs: [linters]
defaults:
run:
shell: bash
Expand Down
20 changes: 0 additions & 20 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,23 +24,3 @@ jobs:
uses: hadolint/hadolint-action@v1.6.0
with:
dockerfile: Dockerfile


goreleaser:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0

- uses: actions/setup-go@v2
with:
go-version: 1.17

- name: "Docker login"
run: docker login docker.pkg.github.com -u docker -p ${{ secrets.GITHUB_TOKEN }}

- name: Release
run: make release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 7fd5fa2

Please sign in to comment.