Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
open-runtime-module-library
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Noxim
open-runtime-module-library
Commits
7184f18c
Unverified
Commit
7184f18c
authored
4 years ago
by
Shaopeng Wang
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
GH actions checkout v2. (#199)
parent
7db95d48
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.github/workflows/master.yml
+2
-2
2 additions, 2 deletions
.github/workflows/master.yml
.github/workflows/publish_packages.yml
+7
-7
7 additions, 7 deletions
.github/workflows/publish_packages.yml
.github/workflows/test.yml
+1
-1
1 addition, 1 deletion
.github/workflows/test.yml
with
10 additions
and
10 deletions
.github/workflows/master.yml
+
2
−
2
View file @
7184f18c
...
@@ -9,7 +9,7 @@ jobs:
...
@@ -9,7 +9,7 @@ jobs:
build
:
build
:
runs-on
:
ubuntu-18.04
runs-on
:
ubuntu-18.04
steps
:
steps
:
-
uses
:
actions/checkout@v
1
-
uses
:
actions/checkout@v
2
-
name
:
Cache cargo
-
name
:
Cache cargo
uses
:
actions/cache@v2
uses
:
actions/cache@v2
with
:
with
:
...
@@ -17,7 +17,7 @@ jobs:
...
@@ -17,7 +17,7 @@ jobs:
~/.cargo/registry
~/.cargo/registry
~/.cargo/git
~/.cargo/git
target
target
key
:
${{ runner.os }}-cargo
-${{ hashFiles('**/Cargo.lock') }}
key
:
${{ runner.os }}-cargo
-
name
:
Install toolchain
-
name
:
Install toolchain
uses
:
actions-rs/toolchain@v1
uses
:
actions-rs/toolchain@v1
with
:
with
:
...
...
This diff is collapsed.
Click to expand it.
.github/workflows/publish_packages.yml
+
7
−
7
View file @
7184f18c
...
@@ -9,7 +9,7 @@ jobs:
...
@@ -9,7 +9,7 @@ jobs:
name
:
Check
name
:
Check
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
steps
:
steps
:
-
uses
:
actions/checkout@v
1
-
uses
:
actions/checkout@v
2
-
uses
:
actions-rs/toolchain@v1
-
uses
:
actions-rs/toolchain@v1
with
:
with
:
toolchain
:
stable
toolchain
:
stable
...
@@ -17,13 +17,13 @@ jobs:
...
@@ -17,13 +17,13 @@ jobs:
-
run
:
make Cargo.toml
-
run
:
make Cargo.toml
-
run
:
cargo install cargo-unleash --version 1.0.0-alpha.10
-
run
:
cargo install cargo-unleash --version 1.0.0-alpha.10
-
run
:
cargo unleash check
-
run
:
cargo unleash check
fmt
:
fmt
:
name
:
Rustfmt
name
:
Rustfmt
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
needs
:
check
needs
:
check
steps
:
steps
:
-
uses
:
actions/checkout@v
1
-
uses
:
actions/checkout@v
2
-
uses
:
actions-rs/toolchain@v1
-
uses
:
actions-rs/toolchain@v1
with
:
with
:
toolchain
:
stable
toolchain
:
stable
...
@@ -40,7 +40,7 @@ jobs:
...
@@ -40,7 +40,7 @@ jobs:
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
needs
:
fmt
needs
:
fmt
steps
:
steps
:
-
uses
:
actions/checkout@v
1
-
uses
:
actions/checkout@v
2
-
uses
:
actions-rs/toolchain@v1
-
uses
:
actions-rs/toolchain@v1
with
:
with
:
toolchain
:
stable
toolchain
:
stable
...
@@ -55,7 +55,7 @@ jobs:
...
@@ -55,7 +55,7 @@ jobs:
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
needs
:
test
needs
:
test
steps
:
steps
:
-
uses
:
actions/checkout@v
1
-
uses
:
actions/checkout@v
2
-
uses
:
actions-rs/toolchain@v1
-
uses
:
actions-rs/toolchain@v1
with
:
with
:
toolchain
:
stable
toolchain
:
stable
...
@@ -71,13 +71,13 @@ jobs:
...
@@ -71,13 +71,13 @@ jobs:
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
needs
:
clippy
needs
:
clippy
steps
:
steps
:
-
uses
:
actions/checkout@v
1
-
uses
:
actions/checkout@v
2
-
uses
:
actions-rs/toolchain@v1
-
uses
:
actions-rs/toolchain@v1
with
:
with
:
toolchain
:
stable
toolchain
:
stable
override
:
true
override
:
true
-
run
:
make Cargo.toml
-
run
:
make Cargo.toml
-
run
:
cargo install cargo-unleash --version 1.0.0-alpha.10
-
run
:
cargo install cargo-unleash --version 1.0.0-alpha.10
-
run
:
cargo unleash em-dragons --no-check
-
run
:
cargo unleash em-dragons --no-check
env
:
env
:
CRATES_TOKEN
:
${{ secrets.CRATES_TOKEN }}
CRATES_TOKEN
:
${{ secrets.CRATES_TOKEN }}
This diff is collapsed.
Click to expand it.
.github/workflows/test.yml
+
1
−
1
View file @
7184f18c
...
@@ -12,7 +12,7 @@ jobs:
...
@@ -12,7 +12,7 @@ jobs:
build
:
build
:
runs-on
:
ubuntu-18.04
runs-on
:
ubuntu-18.04
steps
:
steps
:
-
uses
:
actions/checkout@v
1
-
uses
:
actions/checkout@v
2
-
name
:
Cache cargo
-
name
:
Cache cargo
uses
:
actions/cache@v2
uses
:
actions/cache@v2
with
:
with
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment