From 6db3ea021b9433cf571f19349596583e85c34eb1 Mon Sep 17 00:00:00 2001 From: Vomitblood Date: Thu, 8 Aug 2024 01:48:10 +0800 Subject: [PATCH] updated github actions workflow --- .github/workflows/build.yml | 2 +- .github/workflows/testing.yml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a221ca9..7e13425 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,7 +19,7 @@ jobs: run: | apt update && apt install -y curl curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y - echo "source $HOME/.cargo/env" >> $GITHUB_ENV + echo ". $HOME/.cargo/env" >> $GITHUB_ENV shell: bash - name: Install Git diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 81903fd..ddc1e02 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -11,6 +11,8 @@ permissions: jobs: build: runs-on: ubuntu-latest + container: + image: ubuntu:22.04 steps: - name: Install Rust