Skip to content

Commit

Permalink
Migrate to Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
fatalbanana committed Mar 18, 2024
1 parent 03ab850 commit 1239bd4
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 1239bd4

Please sign in to comment.