Skip to content

Commit

Permalink
Added homework 3
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Grancsa <[email protected]>
  • Loading branch information
RobertGrancsa committed May 10, 2024
1 parent 891d6cd commit 4c595b9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,11 @@ jobs:
checker:
runs-on: ubuntu-latest
container:
image: ghcr.io/sd-pub/tema3:latest
image: ghcr.io/${{ github.repository }}:latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Run tests
run: |
pwd
ls
ls checker/
hw_checker --legacy
7 changes: 4 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
push:
branches:
- update_image
create:

jobs:
publish-sd-tema-3-image:
Expand All @@ -21,6 +22,6 @@ jobs:

- name: Build the sd-tema-3 Docker image
run: |
docker build . --tag ghcr.io/sd-pub/tema3:latest
docker run ghcr.io/sd-pub/tema3:latest
docker push ghcr.io/sd-pub/tema3:latest
docker build . --tag ghcr.io/${{ github.repository }}:latest
docker run ghcr.io/${{ github.repository }}:latest
docker push ghcr.io/${{ github.repository }}:latest
3 changes: 1 addition & 2 deletions social_media.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@
*/
#include <stdlib.h>
#include <stdio.h>
#include <string.h>

#include "users.h"
#include "friends.h"
#include "posts.h"
#include "feed.h"

extern graph_t connections;

/**
* Initializez every task based on which task we are running
*/
Expand Down

0 comments on commit 4c595b9

Please sign in to comment.