Skip to content

Commit

Permalink
Merge pull request #2 from brackendawson/workflow
Browse files Browse the repository at this point in the history
Create Go Workflow
  • Loading branch information
brackendawson authored Sep 23, 2024
2 parents 85261d8 + 01a68db commit 4f5346c
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go

name: Go

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:

stable:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 'stable'

- name: Test
run: go test -race -v ./...
module:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'

- name: Test
run: go test -race -v ./...
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
![Go workflow](https://github.com/brackendawson/webcal-proxy/actions/workflows/go.yml/badge.svg)

# webcal-proxy
A simple server to proxy and filter webcal links.

Expand Down

0 comments on commit 4f5346c

Please sign in to comment.