This commit is contained in:
1 parent
d75ca8df71
commit
36ec531c44
1 file changed
+30
@@ -0,0 +1,30 @@
|
||||
name: DevOps Lab CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
smoke-test:
|
||||
name: Test repository
|
||||
runs-on: lab-host
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: builtin:checkout
|
||||
|
||||
- name: Run smoke tests
|
||||
run: |
|
||||
set -eu
|
||||
|
||||
echo "Running CI pipeline"
|
||||
echo "Current user: $(whoami)"
|
||||
|
||||
git --version
|
||||
test -f README.md
|
||||
|
||||
echo "All checks passed!"
|
||||
Reference in new issue
Block a user