1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-08-11 17:50:58 +00:00

Update docs, file formatting and docker images (#766)

* docs: fix wrong licence link

* fix: add more formatting settings, reformat all

feat: add vscode extensions recommendations

* docs: update contributing documentation

* fix: remove unnecessary comment

it was due to broken checkout

* docs: rework installation section

it has been brought up few times, new style should be easier
to understand

* docs: update images provided by catthehacker

* docs: replace 18.04 with recent image

* fix: add final new line
This commit is contained in:
Ryan 2021-08-09 16:07:26 +00:00 committed by GitHub
parent 4eb45d4c4b
commit ad2470a735
8 changed files with 24 additions and 24 deletions

View file

@ -3,7 +3,7 @@ name: Feature request
about: Use this template for requesting a feature/enhancement. about: Use this template for requesting a feature/enhancement.
title: "Enhancement: " title: "Enhancement: "
labels: "kind/feature-request" labels: "kind/feature-request"
assignees: '' assignees: ""
--- ---
## Describe feature ## Describe feature

View file

@ -3,7 +3,7 @@ name: Issue
about: Use this template for reporting a bug/issue. about: Use this template for reporting a bug/issue.
title: "Issue: <shortly describe issue>" title: "Issue: <shortly describe issue>"
labels: kind/bug labels: kind/bug
assignees: '' assignees: ""
--- ---
<!-- <!--

View file

@ -10,7 +10,7 @@ outputs:
description: 'Output string' description: 'Output string'
value: ${{ steps.set-output.outputs.string }} value: ${{ steps.set-output.outputs.string }}
runs: runs:
using: "composite" using: 'composite'
steps: steps:
- run: echo Hello ${{ inputs.input }}. - run: echo Hello ${{ inputs.input }}.
shell: bash shell: bash

View file

@ -1,7 +1,7 @@
name: "Close stale issues" name: 'Close stale issues'
on: on:
schedule: schedule:
- cron: "0 0 * * *" - cron: '0 0 * * *'
jobs: jobs:
stale: stale:

View file

@ -308,11 +308,11 @@ func defaultImageSurvey(actrc string) error {
var option string var option string
switch answer { switch answer {
case "Large": case "Large":
option = "-P ubuntu-18.04=nektos/act-environments-ubuntu:18.04" option = "-P ubuntu-latest=ghcr.io/catthehacker/ubuntu:full-latest\n-P ubuntu-latest=ghcr.io/catthehacker/ubuntu:full-20.04\n-P ubuntu-18.04=ghcr.io/catthehacker/ubuntu:full-18.04\n"
case "Medium": case "Medium":
option = "-P ubuntu-latest=catthehacker/ubuntu:act-latest\n-P ubuntu-20.04=catthehacker/ubuntu:act-20.04\n-P ubuntu-18.04=catthehacker/ubuntu:act-18.04\nubuntu-16.04=catthehacker/ubuntu:act-16.04" option = "-P ubuntu-latest=ghcr.io/catthehacker/ubuntu:act-latest\n-P ubuntu-20.04=ghcr.io/catthehacker/ubuntu:act-20.04\n-P ubuntu-18.04=ghcr.io/catthehacker/ubuntu:act-18.04\n-P ubuntu-16.04=ghcr.io/catthehacker/ubuntu:act-16.04\n"
case "Micro": case "Micro":
option = "-P ubuntu-latest=node:12-buster-slim\n-P ubuntu-20.04=node:12-buster-slim\n-P ubuntu-18.04=node:12-buster-slim\n-P ubuntu-16.04=node:12-stretch-slim" option = "-P ubuntu-latest=node:12-buster-slim\n-P ubuntu-20.04=node:12-buster-slim\n-P ubuntu-18.04=node:12-buster-slim\n-P ubuntu-16.04=node:12-stretch-slim\n"
} }
f, err := os.Create(actrc) f, err := os.Create(actrc)