actions-playground/.gitea/workflows/ci.yaml

29 lines
654 B
YAML

name: CI
on:
- push
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
things: [1, 2, 3, 4, 5]
steps:
- uses: "https://github.com/actions/checkout@v3"
- name: Hash the files
uses: theowenyoung/folder-hash@v3
id: hash-stuff
with:
path: .gitea/workflows/ci.yaml
- name: Cache stuff
uses: "https://github.com/actions/cache@v3"
with:
path: .
key: stuff-${{ steps.hash-stuff.outputs.hash }}
- run: sleep 5
- name: Hello world
run: docker run hello-world
- run: docker ps
- run: docker container ls