Skip to content

Commit

Permalink
ci: Fix the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
StollD committed Sep 14, 2024
1 parent 323b5a3 commit 18d12f9
Showing 1 changed file with 61 additions and 57 deletions.
118 changes: 61 additions & 57 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,40 +16,20 @@
"BRANCH_STAGING": "u/staging",
},
"jobs": {
"checkout": {
"name": "Prepare workspace",
"runs-on": "ubuntu-latest",
"steps": [
{
"name": "Checkout code",
"uses": "actions/checkout@v4",
"with": {
"fetch-depth": 0,
},
},
{
"name": "Archive workspace",
"uses": "actions/upload-artifact@v4",
"with": {
"name": "workspace",
"path": ".",
},
},
],
},
"check": {
"name": "Check code quality",
"container": "fedora:40",
"runs-on": "ubuntu-latest",
"needs": [
"checkout",
],
"steps": [
{
"name": "Restore workspace",
"uses": "actions/download-artifact@v4",
"name": "Install git",
"run": "dnf install -y git",
},
{
"name": "Checkout code",
"uses": "actions/checkout@v4",
"with": {
"name": "workspace",
"fetch-depth": 0,
},
},
{
Expand Down Expand Up @@ -83,10 +63,10 @@
],
"steps": [
{
"name": "Restore workspace",
"uses": "actions/download-artifact@v4",
"name": "Checkout code",
"uses": "actions/checkout@v4",
"with": {
"name": "workspace",
"fetch-depth": 0,
},
},
{
Expand Down Expand Up @@ -128,10 +108,10 @@
],
"steps": [
{
"name": "Restore workspace",
"uses": "actions/download-artifact@v4",
"name": "Checkout code",
"uses": "actions/checkout@v4",
"with": {
"name": "workspace",
"fetch-depth": 0,
},
},
{
Expand Down Expand Up @@ -173,10 +153,14 @@
],
"steps": [
{
"name": "Restore workspace",
"uses": "actions/download-artifact@v4",
"name": "Install git",
"run": "dnf install -y git",
},
{
"name": "Checkout code",
"uses": "actions/checkout@v4",
"with": {
"name": "workspace",
"fetch-depth": 0,
},
},
{
Expand Down Expand Up @@ -218,10 +202,14 @@
],
"steps": [
{
"name": "Restore workspace",
"uses": "actions/download-artifact@v4",
"name": "Install git",
"run": "dnf install -y git",
},
{
"name": "Checkout code",
"uses": "actions/checkout@v4",
"with": {
"name": "workspace",
"fetch-depth": 0,
},
},
{
Expand Down Expand Up @@ -263,10 +251,14 @@
],
"steps": [
{
"name": "Restore workspace",
"uses": "actions/download-artifact@v4",
"name": "Install git",
"run": "dnf install -y git",
},
{
"name": "Checkout code",
"uses": "actions/checkout@v4",
"with": {
"name": "workspace",
"fetch-depth": 0,
},
},
{
Expand Down Expand Up @@ -373,10 +365,10 @@
],
"steps": [
{
"name": "Restore workspace",
"uses": "actions/download-artifact@v4",
"name": "Checkout code",
"uses": "actions/checkout@v4",
"with": {
"name": "workspace",
"fetch-depth": 0,
},
},
{
Expand Down Expand Up @@ -406,10 +398,10 @@
],
"steps": [
{
"name": "Restore workspace",
"uses": "actions/download-artifact@v4",
"name": "Checkout code",
"uses": "actions/checkout@v4",
"with": {
"name": "workspace",
"fetch-depth": 0,
},
},
{
Expand Down Expand Up @@ -439,10 +431,14 @@
],
"steps": [
{
"name": "Restore workspace",
"uses": "actions/download-artifact@v4",
"name": "Install git",
"run": "dnf install -y git",
},
{
"name": "Checkout code",
"uses": "actions/checkout@v4",
"with": {
"name": "workspace",
"fetch-depth": 0,
},
},
{
Expand Down Expand Up @@ -472,10 +468,14 @@
],
"steps": [
{
"name": "Restore workspace",
"uses": "actions/download-artifact@v4",
"name": "Install git",
"run": "dnf install -y git",
},
{
"name": "Checkout code",
"uses": "actions/checkout@v4",
"with": {
"name": "workspace",
"fetch-depth": 0,
},
},
{
Expand Down Expand Up @@ -505,10 +505,14 @@
],
"steps": [
{
"name": "Restore workspace",
"uses": "actions/download-artifact@v4",
"name": "Install git",
"run": "dnf install -y git",
},
{
"name": "Checkout code",
"uses": "actions/checkout@v4",
"with": {
"name": "workspace",
"fetch-depth": 0,
},
},
{
Expand Down

0 comments on commit 18d12f9

Please sign in to comment.