Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Commit

Permalink
Update GitHub Actions workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelmeuli committed Apr 28, 2020
1 parent 349fd25 commit f83de90
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Lint

on:
- pull_request
- push
- pull_request

jobs:
lint:
Expand All @@ -27,5 +27,5 @@ jobs:
restore-keys: |
${{ runner.os }}-go-mod-
- name: Lint
- name: Run linters
run: docker run --rm -v $(pwd):/app -w /app golangci/golangci-lint:v1.25.1 golangci-lint run
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ on:

jobs:
release:
name: Release
runs-on: ubuntu-latest

steps:
- name: Checkout
- name: Check out Git repository
uses: actions/checkout@v2

- name: Unshallow
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
name: Test

on: push
on:
- push
- pull_request

jobs:
run-tests:
name: Run tests
test:
name: Test
runs-on: ubuntu-latest

steps:
Expand Down

0 comments on commit f83de90

Please sign in to comment.