diff --git a/.gitea/workflows/01_test.yaml b/.gitea/workflows/01_test.yaml index 91cdd66..9953f27 100644 --- a/.gitea/workflows/01_test.yaml +++ b/.gitea/workflows/01_test.yaml @@ -10,15 +10,15 @@ jobs: - /var/lib/docker/image:/var/lib/docker/image - /var/lib/docker/overlay2:/var/lib/docker/overlay2 steps: - - name: Starting docker daemon - run: docker-init -- dockerd --host=unix:///var/run/docker.sock & - - name: Installing necessary packages - run: apk add nodejs git curl bash - - name: Check out repository code - uses: actions/checkout@v3 - - name: Get access token from secret - run: echo "${{ secrets.MASTODON_SECRET }}" > mastodon-data.toml - - name: Check code - run: cargo check - - name: Run tests on docker - run: docker compose down -v && docker compose run bot t \ No newline at end of file + - name: Starting docker daemon + run: docker-init -- dockerd --host=unix:///var/run/docker.sock & + - name: Installing necessary packages + run: apk add nodejs git curl bash + - name: Check out repository code + uses: actions/checkout@v3 + - name: Get access token from secret + run: echo "${{ secrets.MASTODON_SECRET }}" > mastodon-data.toml + - name: Check code + run: cargo check + - name: Run tests on docker + run: docker compose down -v && docker compose run bot t \ No newline at end of file