Added second workflow action
This commit is contained in:
22
.gitea/workflows/container.yaml
Normal file
22
.gitea/workflows/container.yaml
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
name: Fibonacci unit tests
|
||||||
|
run-name: ${{ gitea.actor }} is testing Fibonacci
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- 'deployment'
|
||||||
|
- 'build'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
Containerize:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Check out repository code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
- name: Install go
|
||||||
|
uses: actions/setup-go@v5
|
||||||
|
with:
|
||||||
|
go-version: '1.24.4'
|
||||||
|
check-latest: true
|
||||||
|
- name: Containerize app
|
||||||
|
run: exit 0
|
||||||
|
|
||||||
@@ -1,9 +1,12 @@
|
|||||||
name: Fibonacci unit tests
|
name: Fibonacci unit tests
|
||||||
run-name: ${{ gitea.actor }} is testing Fibonacci
|
run-name: ${{ gitea.actor }} is testing Fibonacci
|
||||||
on: [push]
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- '*'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Explore-Gitea-Actions:
|
Run-unit-tests:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
|
|||||||
Reference in New Issue
Block a user