Skip to content

Commit

Permalink
Merge pull request #5 from rspamd/gha
Browse files Browse the repository at this point in the history
Migrate to Github Actions
  • Loading branch information
fatalbanana committed Mar 20, 2024
2 parents 03ab850 + 1239bd4 commit 0a9b51a
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 22 deletions.
22 changes: 0 additions & 22 deletions .drone.yml

This file was deleted.

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

on:
pull_request:
push:
branches:
- main

jobs:
test:
runs-on: ubuntu-latest
container:
image: golang
steps:
- name: Check out source code
uses: actions/checkout@v4

- name: Run go test
run: go test -cover ./...

- name: Install staticcheck
run: go install honnef.co/go/tools/cmd/staticcheck@latest

- name: Run staticcheck
run: |
chown -R root:root .
staticcheck ./...

0 comments on commit 0a9b51a

Please sign in to comment.