Skip to content

Commit

Permalink
chore(ci): start of GitHub actions
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Horton <[email protected]>
  • Loading branch information
madpah committed Jun 21, 2024
1 parent 195a32a commit 594bbd4
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Continuous Integration

# This GitHub action runs your tests for each pull request and push.
# Optionally, you can turn it on using a schedule for regular testing.
on:
pull_request:
paths-ignore:
- 'README.md'
push:
paths-ignore:
- 'README.md'

# Testing only needs permissions to read the repository contents.
permissions:
contents: read

jobs:
# Ensure project builds before running testing matrix
build:
name: Build
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '18.x'

- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
cache: true

- name: Checkout Code
uses: actions/checkout@v4

- name: Run Go Linter
uses: golangci/golangci-lint-action@v5
with:
version: latest

- name: Build
run: make all

0 comments on commit 594bbd4

Please sign in to comment.