Skip to content

Add matrix rain mode, panel width fix, and matrix-only subliminal snippets #90

Add matrix rain mode, panel width fix, and matrix-only subliminal snippets

Add matrix rain mode, panel width fix, and matrix-only subliminal snippets #90

Workflow file for this run

name: CI
on:
push:
branches: ["**"]
pull_request:
branches: ["**"]
permissions:
contents: read
jobs:
shellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: ShellCheck install.sh
run: |
sudo apt-get update -qq
sudo apt-get install -y shellcheck
shellcheck scripts/install.sh
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: false
- uses: golangci/golangci-lint-action@v7
with:
version: v2.11.4
args: --timeout=5m
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true
- name: Build
run: go build ./...
- name: Vet
run: go vet ./...
- name: Test
run: go test -race -count=1 ./...
uat:
runs-on: ubuntu-latest
needs: [shellcheck, lint, test]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true
- name: Configure git identity
run: |
git config --global user.email "uat@git-rain.test"
git config --global user.name "UAT Bot"
- name: Run UAT
run: bash scripts/uat.sh