47
47
rust : [stable]
48
48
python-version : [3.6, 3.7, 3.8, 3.9, 3.10-dev, pypy-3.6, pypy-3.7]
49
49
platform : [
50
- { os: "macOS -latest", python-architecture: "x64", rust-target: "x86_64-apple-darwin" },
50
+ { os: "macos -latest", python-architecture: "x64", rust-target: "x86_64-apple-darwin" },
51
51
{ os: "ubuntu-latest", python-architecture: "x64", rust-target: "x86_64-unknown-linux-gnu" },
52
52
{ os: "windows-latest", python-architecture: "x64", rust-target: "x86_64-pc-windows-msvc" },
53
53
{ os: "windows-latest", python-architecture: "x86", rust-target: "i686-pc-windows-msvc" },
@@ -69,10 +69,10 @@ jobs:
69
69
steps :
70
70
- uses : actions/checkout@v2
71
71
72
- # macOS : install gnu-tar because BSD tar is buggy for github actions
72
+ # macos : install gnu-tar because BSD tar is buggy for github actions
73
73
# https://github.com/actions/cache/issues/403
74
- - name : Install GNU tar (Macos )
75
- if : matrix.os == 'macOS -latest'
74
+ - name : Install GNU tar (macOS only )
75
+ if : matrix.platform. os == 'macos -latest'
76
76
run : |
77
77
brew install gnu-tar
78
78
echo "/usr/local/opt/gnu-tar/libexec/gnubin" >> $GITHUB_PATH
83
83
~/.cargo/registry
84
84
~/.cargo/git
85
85
target
86
- key : ${{ matrix.python-version }}-${{ matrix.platform.python-architecture }}-${{ matrix.platform.os }}-${{ matrix.msrv }}-cargo -${{ hashFiles('**/Cargo.toml') }}
86
+ key : cargo- ${{ matrix.python-version }}-${{ matrix.platform.python-architecture }}-${{ matrix.platform.os }}-${{ matrix.msrv }}-${{ hashFiles('**/Cargo.toml') }}
87
87
88
88
- name : Set up Python ${{ matrix.python-version }}
89
89
uses : actions/setup-python@v2
0 commit comments