Skip to content

Commit

Permalink
Test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
efixler committed Feb 16, 2024
1 parent 485440c commit cdd9164
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
on:
push:
branches:
- main
pull_request:
branches:
- main
name: test
jobs:
test:
strategy:
matrix:
go-version: [1.22.x, 1.21.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v4
- name: test
run: go test -v ./...

1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Fast web scraping

[![Go Reference](https://pkg.go.dev/badge/github.com/efixler/scrape.svg)](https://pkg.go.dev/github.com/efixler/scrape)
[![Build status](https://github.com/efixler/envflags/scrape/workflows/test.yml/badge.svg)](https://github.com/efixler/scrape/actions/workflows/test.yml)
[![Go Report Card](https://goreportcard.com/badge/github.com/efixler/scrape)](https://goreportcard.com/report/github.com/efixler/scrape)
## Table of Contents

Expand Down

0 comments on commit cdd9164

Please sign in to comment.