26 lines
604 B
YAML
26 lines
604 B
YAML
name: CI
|
|
on:
|
|
- push
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: "https://github.com/actions/checkout@v3"
|
|
- name: Hash the files
|
|
uses: theowenyoung/folder-hash@v3
|
|
id: hash-stuff
|
|
with:
|
|
path: .gitea/workflows/
|
|
- 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
|
|
- run: env
|
|
|