Skip to content

feat: add "terminus" -plugin for resolving redirects (#10) #31

feat: add "terminus" -plugin for resolving redirects (#10)

feat: add "terminus" -plugin for resolving redirects (#10) #31

Workflow file for this run

name: CI
on:
push:
branches: [main]
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: write
pages: write
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: '1.21.6'
- name: Install some build dependencies
run: |
sudo apt-get update
sudo apt-get install -y gcc libgl1-mesa-dev xorg-dev
curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b /usr/local/bin
- name: Install Task
uses: arduino/setup-task@v2
with:
version: 3.x
repo-token: ${{ secrets.GITHUB_TOKEN }}
persist-credentials: false
- name: Run Tests
run: task test
- name: Package files for Linux
run: task package:linux
- uses: go-semantic-release/action@v1
with:
github-token: ${{ secrets.DEPENDABOT_TOKEN }}
hooks: goreleaser
env:
# GITHUB_TOKEN -env is required for the goreleaser -hook
GITHUB_TOKEN: ${{ secrets.DEPENDABOT_TOKEN }}
- name: Make Coverage Badge
uses: action-badges/[email protected]
with:
file-name: coverage.svg
badge-branch: gh-pages
coverage-file-name: test/coverage.latest/coverage.xml
github-token: ${{ secrets.GITHUB_TOKEN }}