Skip to content

Test-Futureproof-OS #22

Test-Futureproof-OS

Test-Futureproof-OS #22

---
name: "Test-Futureproof-OS"
on: # yamllint disable-line rule:truthy
push:
pull_request:
# POSIX cron format
# https://pubs.opengroup.org/onlinepubs/9699919799/utilities/crontab.html
schedule:
# Once every 5 minutes
# - cron: "*/5 * * * *"
# Once a day
- cron: "0 0 * * *"
jobs:
Test-Futureproof-OS:
runs-on: "ubuntu-latest"
env:
GOPATH: "/home/runner/go"
steps:
- run: "echo \"/usr/local/go/bin\" >> \"$GITHUB_PATH\""
- run: "echo \"${GOPATH}/bin\" >> \"$GITHUB_PATH\""
- uses: "actions/checkout@v4"
- run: "sudo apt-get update"
- run: "sudo apt-get install -y cargo curl"
- run: "curl -LO https://go.dev/dl/go1.23.2.linux-amd64.tar.gz"
- run: "sudo tar -C /usr/local -xzf go1.23.2.linux-amd64.tar.gz"
- run: "make -j 4 go"
- run: "mage test"