Skip to content

Change LuaRock to LuaRocks as per Purl spec #67

Change LuaRock to LuaRocks as per Purl spec

Change LuaRock to LuaRocks as per Purl spec #67

Workflow file for this run

name: test
on: [push, pull_request]
jobs:
test:
strategy:
matrix:
go-version: [1.21.x, 1.22.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- name: Test go fmt
run: test -z $(go fmt ./...)
- name: Golangci-lint
uses: golangci/golangci-lint-action@v2
with:
only-new-issues: true
- name: Test coverage
run: go test -covermode atomic -coverprofile='profile.cov' ./...