Skip to content

Commit

Permalink
Update branch.yaml (#65)
Browse files Browse the repository at this point in the history
* Update branch.yaml

* Update main.yaml

* Update tags.yaml
  • Loading branch information
tjololo authored Aug 31, 2023
1 parent 38948f6 commit 85cd7be
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/branch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Lint
run: |
go get golang.org/x/lint/golint
golint ./...
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: latest

- name: Test
run: go test -v ./...
Expand All @@ -40,4 +40,4 @@ jobs:
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
args: --sarif-file-output=snyk.sarif
args: --sarif-file-output=snyk.sarif
10 changes: 5 additions & 5 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Lint
run: |
go get golang.org/x/lint/golint
golint ./...
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: latest
- name: Build
run: go build -v .

Expand All @@ -38,4 +38,4 @@ jobs:
KO_DOCKER_REPO: ghcr.io/${{ github.repository_owner }}
run: |
./ko login ghcr.io --username $GITHUB_REPOSITORY_OWNER --password ${{ secrets.GITHUB_TOKEN }}
./ko publish -B .
./ko publish -B .
10 changes: 5 additions & 5 deletions .github/workflows/tags.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Lint
run: |
go get golang.org/x/lint/golint
golint ./...
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: latest
- name: Build
run: go build -v .

Expand Down Expand Up @@ -63,4 +63,4 @@ jobs:
release_name: v${{ github.ref }}
body: ${{steps.github_release.outputs.changelog}}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 85cd7be

Please sign in to comment.