Skip to content

Commit

Permalink
Merge pull request #220 from nflynt/drone2gha-backport-v2.7
Browse files Browse the repository at this point in the history
[Backport] v2.7: Migrate from Drone to GHA
  • Loading branch information
nflynt authored May 29, 2024
2 parents 02a6bd7 + eaa4c43 commit 7860d9c
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 59 deletions.
59 changes: 0 additions & 59 deletions .drone.yml

This file was deleted.

33 changes: 33 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: CI

on:
pull_request: {}
push:
branches:
- master
- release/*

jobs:
ci:
runs-on: ubuntu-latest
steps:
- name : Checkout repository
# https://github.com/actions/checkout/releases/tag/v4.1.1
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Install Go
# https://github.com/actions/setup-go/releases/tag/v5.0.0
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version-file: 'go.mod'
- name: Install mockgen
run: go install github.com/golang/mock/[email protected]
- name: Install golangci-lint
uses: golangci/golangci-lint-action@a4f60bb28d35aeee14e6880718e0c85ff1882e64 # v6.0.1
with:
version: v1.54.0
- name: Build
run: make build-bin
- name: Test
run: make test
- name: Validate
run: make validate

0 comments on commit 7860d9c

Please sign in to comment.